Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Changed build_documentation to pass BUILDING_DOCS state to unit-test …

…model docs

git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@486 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 845942bd16a8e45b55936abc45811d1066d50ed3 1 parent 15c6100
authored August 11, 2005
3  django_website/apps/docs/parts/build_documentation.py
@@ -72,6 +72,9 @@ def build_test_documents():
72 72
     # Manually set INSTALLED_APPS to point to the test app.
73 73
     settings.INSTALLED_APPS = (runtests.APP_NAME,)
74 74
 
  75
+    # Some of the test models need to know whether the docs are being built.
  76
+    settings.BUILDING_DOCS = True
  77
+
75 78
     for model_name in runtests.get_test_models():
76 79
         mod = meta.get_app(model_name)
77 80
 

0 notes on commit 845942b

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