I'm following this tutorial in order to generate documentation for my Django project.
I've added sys.path.append(os.path.join(os.path.dirname(__name__), '..')) to the conf.py file within my documentation directory.
But running make html keeps giving me errors like this:
ImproperlyConfigured: Requested setting LOGGING_CONFIG, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
My project is running fine, so I'm not sure where I'm supposed to call settings.configure()?