<reponame>muizzk/python-webapp<filename>docs/conf.py<gh_stars>0
# Connect Django to Sphinx

import os
import sys
import django
sys.path.insert(0, os.path.abspath('..'))
os.environ['DJANGO_SETTINGS_MODULE'] = 'Your_project_name.settings'
django.setup()
# Connect Django to Sphinx

import os
import sys
import django
sys.path.insert(0, os.path.abspath('..'))
os.environ['DJANGO_SETTINGS_MODULE'] = 'Your_project_name.settings'
django.setup()
# Connect Django to Sphinx