Fixed versionchanged indentation in unit-tests.txt.

This commit is contained in:
Berker Peksag 2014-10-23 08:04:47 +03:00 committed by Tim Graham
parent bc6caa5d45
commit 22c85bf1a8
1 changed files with 5 additions and 5 deletions

View File

@ -36,14 +36,14 @@ sample settings module that uses the SQLite database. To run the tests:
.. versionchanged:: 1.7 .. 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 ``runtests.py`` now uses ``test_sqlite`` by default if settings aren't
through either ``--settings`` or :envvar:`DJANGO_SETTINGS_MODULE`. provided through either ``--settings`` or :envvar:`DJANGO_SETTINGS_MODULE`.
You can avoid typing the ``PYTHONPATH`` bit each time by adding your Django 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. checkout to your ``PYTHONPATH`` or by installing the source checkout using pip.