summaryrefslogtreecommitdiff
path: root/docs/internals/contributing/writing-code
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-01-26 15:39:52 -0500
committerTim Graham <timograham@gmail.com>2015-02-01 21:02:40 -0500
commitc79faae761659d51d58782dbd2b8058fb4668cfa (patch)
treea83649a302c53dd2d0ce9e0f50c4017b8b5da979 /docs/internals/contributing/writing-code
parent0e6091249295b0e06aff2b1b4411819f94a1c529 (diff)
Removed versionadded/changed notes for 1.7.
Diffstat (limited to 'docs/internals/contributing/writing-code')
-rw-r--r--docs/internals/contributing/writing-code/unit-tests.txt17
1 files changed, 0 insertions, 17 deletions
diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt
index df50a636b8..0e8a7fca14 100644
--- a/docs/internals/contributing/writing-code/unit-tests.txt
+++ b/docs/internals/contributing/writing-code/unit-tests.txt
@@ -39,17 +39,6 @@ sample settings module that uses the SQLite database. To run the tests:
$ cd django-repo/tests
$ PYTHONPATH=..:$PYTHONPATH ./runtests.py
-.. versionchanged:: 1.7
-
- Older versions of Django required specifying a settings file:
-
- .. code-block:: bash
-
- $ 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`.
-
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.
See :ref:`installing-development-version`.
@@ -95,12 +84,6 @@ Test databases get their names by prepending ``test_`` to the value of the
:setting:`NAME` settings for the databases defined in :setting:`DATABASES`.
These test databases are deleted when the tests are finished.
-.. versionchanged:: 1.7
-
- Before Django 1.7, the :setting:`NAME` setting was mandatory and had to
- be the name of an existing database to which the given user had permission
- to connect.
-
You will also need to ensure that your database uses UTF-8 as the default
character set. If your database server doesn't use UTF-8 as a default charset,
you will need to include a value for :setting:`TEST_CHARSET` in the settings