Commits

Lukasz Balcerzak committed f580cba

Fixed docs conf

  • Participants
  • Parent commits 50b7537

Comments (0)

Files changed (1)

File docs/conf.py

 # 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.
-sys.path.append(os.path.abspath('..'))
+sys.path.insert(0, os.path.abspath('..'))
 sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__))))
 projector = __import__('projector')
-os.environ['DJANGO_SETTINGS_MODULE'] = 'example_project.settings'
+os.environ['DJANGO_SETTINGS_MODULE'] = 'example_project.settings_test'
 
 # -- General configuration -----------------------------------------------------