Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #4745 -- Updated docs to point out that 0 is not a valid SITE_I…

…D when running the tests. Thanks for the suggestion, Lars Stavholm <stava@telcotec.se>.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 119c6005a616db20585950e915d91b4f40615707 1 parent f3e7104
Russell Keith-Magee authored July 12, 2007

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

  1. 4  docs/contributing.txt
4  docs/contributing.txt
@@ -532,8 +532,8 @@ Yes, the unit tests need a settings module, but only for database connection
532 532
 info -- the ``DATABASE_NAME`` (required, but will be ignored),
533 533
 ``DATABASE_ENGINE``, ``DATABASE_USER`` and ``DATABASE_PASSWORD`` settings. You
534 534
 will also need a ``ROOT_URLCONF`` setting (its value is ignored; it just needs
535  
-to be present) and a ``SITE_ID`` setting (any integer value will do) in order
536  
-for all the tests to pass.
  535
+to be present) and a ``SITE_ID`` setting (any non-zero integer value will do)
  536
+in order for all the tests to pass.
537 537
 
538 538
 The unit tests will not touch your existing databases; they create a new
539 539
 database, called ``django_test_db``, which is deleted when the tests are

0 notes on commit 119c600

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