Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 5efb9652d74a08bfdbb788cfa31f01da0cdee04c 1 parent ddcf51a
Luke Plant authored June 20, 2008

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  docs/contributing.txt
3  docs/contributing.txt
@@ -758,7 +758,8 @@ in a ``tests.py`` file. (You can split the tests over multiple modules
758 758
 by using a ``tests`` folder in the normal Python way).
759 759
 
760 760
 For the tests to be found, a ``models.py`` file must exist (it doesn't
761  
-have to have anything in it).
  761
+have to have anything in it).  If you have URLs that need to be
  762
+mapped, you must add them in ``tests/urls.py``.
762 763
 
763 764
 To run tests for just one contrib app (e.g. ``markup``), use the same
764 765
 method as above::

0 notes on commit 5efb965

Please sign in to comment.
Something went wrong with that request. Please try again.