I'm having issues building the module autodocs for a Django 1.4.1 project. make html
seems to be failing to read my docstrings because it's running into trouble importing my settings. All of the online guides I've seen suggest using
import settings
from django.core.management import setup_environ
setup_environ(settings)
but this is deprecated in 1.4, and the settings.configure()
method doesn't seem appropriate. I haven't found nearly as much information for how to make things work in 1.4. I tried setting DJANGO_SETTINGS
, but no luck. Any suggestions?