diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2008-06-20 17:18:58 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2008-06-20 17:18:58 +0000 |
| commit | 5efb9652d74a08bfdbb788cfa31f01da0cdee04c (patch) | |
| tree | 9cad66fbb028c5fb4f46591d71f147e6d5237c0a /docs | |
| parent | ddcf51a0ba21ac967406239cd0434dae490964ab (diff) | |
Added docs about urls.py and testing views for contrib apps
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/contributing.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/contributing.txt b/docs/contributing.txt index 1775b27174..fd5012cb68 100644 --- a/docs/contributing.txt +++ b/docs/contributing.txt @@ -758,7 +758,8 @@ in a ``tests.py`` file. (You can split the tests over multiple modules by using a ``tests`` folder in the normal Python way). For the tests to be found, a ``models.py`` file must exist (it doesn't -have to have anything in it). +have to have anything in it). If you have URLs that need to be +mapped, you must add them in ``tests/urls.py``. To run tests for just one contrib app (e.g. ``markup``), use the same method as above:: |
