I have a Django application in which I am trying to set up the documentation. The directory structure is as follows:
- doc
- project
| - manage.py
I set the paths so that Sphinx can see things, but when I try to use autodoc, some settings that I set in settings.py are not available. This is how I set up the environment, what am I doing wrong?
from django.core.management import setup_environ
from project import settings
setup_environ(settings, 'project.settings')
source
share