mirror of
https://github.com/django/django.git
synced 2024-11-29 14:46:18 +01:00
Fixed versionchanged indentation in unit-tests.txt.
This commit is contained in:
parent
bc6caa5d45
commit
22c85bf1a8
@ -36,14 +36,14 @@ sample settings module that uses the SQLite database. To run the tests:
|
||||
|
||||
.. versionchanged:: 1.7
|
||||
|
||||
Older versions of Django required specifying a settings file:
|
||||
Older versions of Django required specifying a settings file:
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: bash
|
||||
|
||||
$ PYTHONPATH=..:$PYTHONPATH python ./runtests.py --settings=test_sqlite
|
||||
$ PYTHONPATH=..:$PYTHONPATH python ./runtests.py --settings=test_sqlite
|
||||
|
||||
``runtests.py`` now uses ``test_sqlite`` by default if settings aren't provided
|
||||
through either ``--settings`` or :envvar:`DJANGO_SETTINGS_MODULE`.
|
||||
``runtests.py`` now uses ``test_sqlite`` by default if settings aren't
|
||||
provided through either ``--settings`` or :envvar:`DJANGO_SETTINGS_MODULE`.
|
||||
|
||||
You can avoid typing the ``PYTHONPATH`` bit each time by adding your Django
|
||||
checkout to your ``PYTHONPATH`` or by installing the source checkout using pip.
|
||||
|
Loading…
Reference in New Issue
Block a user