Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Converted part of django_website/apps/docs/parts/build_documentation.…

…py to magic-removal

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 7b8ca81f69cdaefe6deedd3b6a164e2dd1f657f5 1 parent 9abfcfd
adrian authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 django_website/apps/docs/parts/
5 django_website/apps/docs/parts/
@@ -7,7 +7,8 @@
from django.conf import settings
-from django.core import meta, template
+from django import template
+from django.db import models
from docutils import nodes, utils
from docutils.core import publish_parts
from docutils.writers import html4css1
@@ -79,7 +80,7 @@ def build_test_documents():
settings.BUILDING_DOCS = True
for model_name in runtests.get_test_models():
- mod = meta.get_app(model_name)
+ mod = models.get_app(model_name)
out_file = os.path.join(settings.DJANGO_DOCUMENT_ROOT_PATH, 'model_' + model_name + '.html')
toc_file = os.path.join(settings.DJANGO_DOCUMENT_ROOT_PATH, 'model_' + model_name + '_toc.html')
Please sign in to comment.
Something went wrong with that request. Please try again.