Commits

George Notaras  committed 78bedfc

Fixed issue with the autodoc extension by using generic Django settings

  • Participants
  • Parent commits a15e390

Comments (0)

Files changed (1)

File docs/conf.py

 sys.path.insert(0, os.path.abspath(os.path.join('..', 'src')))
 from thumbnail_works import get_version
 
+from django.conf import settings
+settings.configure()
+
 # 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.