Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed build_documentation to pass BUILDING_DOCS state to unit-test …

…model docs

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 845942bd16a8e45b55936abc45811d1066d50ed3 1 parent 15c6100
adrian authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  django_website/apps/docs/parts/
3  django_website/apps/docs/parts/
@@ -72,6 +72,9 @@ def build_test_documents():
# Manually set INSTALLED_APPS to point to the test app.
settings.INSTALLED_APPS = (runtests.APP_NAME,)
+ # Some of the test models need to know whether the docs are being built.
+ settings.BUILDING_DOCS = True
for model_name in runtests.get_test_models():
mod = meta.get_app(model_name)
Please sign in to comment.
Something went wrong with that request. Please try again.