Added import for django_tables to docs to fix problem with building.
authorBradley Ayers <bradley.ayers@gmail.com>
Mon, 6 Jun 2011 14:09:41 +0000 (00:09 +1000)
committerBradley Ayers <bradley.ayers@gmail.com>
Mon, 6 Jun 2011 14:09:41 +0000 (00:09 +1000)
docs/conf.py

index c79e25a22e8f3629017329d56ec8527127a06d60..23ee16d628812d928009c5259ab9e4403465c07c 100644 (file)
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
 # documentation root, use os.path.abspath to make it absolute, like shown here.
-import sys, os
+import os
+import sys
+os.environ["DJANGO_SETTINGS_MODULE"] = "example.settings"
+# import our libs
 sys.path.insert(0, os.path.join(os.path.abspath('.'), os.pardir))
 import example
+import django_tables as tables
 sys.path.pop(0)
-os.environ["DJANGO_SETTINGS_MODULE"] = "example.settings"
+
 
 # -- General configuration -----------------------------------------------------