mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Updated a few doc paragraphs following the app-loading refactor.
This commit is contained in:
@@ -222,7 +222,6 @@ Tests for contrib apps go in their respective directories under
|
||||
``django/contrib``, in a ``tests.py`` file. You can split the tests over
|
||||
multiple modules by using a ``tests`` directory in the normal Python way.
|
||||
|
||||
For the tests to be found, a ``models.py`` file must exist, even if it's empty.
|
||||
If you have URLs that need to be mapped, put them in ``tests/urls.py``.
|
||||
|
||||
To run tests for just one contrib app (e.g. ``auth``), use the same
|
||||
|
||||
Reference in New Issue
Block a user