1. Marat Khabibullin
  2. django-treebeard

Commits

Lukasz Balcerzak  committed 0e66516

Small fix at documentation conf.py

  • Participants
  • Parent commits cb8bd51
  • Branches default

Comments (0)

Files changed (1)

File docs/conf.py

View file
 # 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.append(os.path.abspath('..'))
+treebeard = __import__('treebeard')
+os.environ['DJANGO_SETTINGS_MODULE'] = 'django.conf.global_settings'
 
 # -- General configuration -----------------------------------------------------