mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Fixed #3913 -- Fixed legacy/confusing 'mysite.settings.main' in docs/faq.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
bb53a0e264
commit
87471549b3
@ -382,9 +382,9 @@ Why do I get an error about importing DJANGO_SETTINGS_MODULE?
|
||||
Make sure that:
|
||||
|
||||
* The environment variable DJANGO_SETTINGS_MODULE is set to a fully-qualified
|
||||
Python module (i.e. "mysite.settings.main").
|
||||
Python module (i.e. "mysite.settings").
|
||||
|
||||
* Said module is on ``sys.path`` (``import mysite.settings.main`` should work).
|
||||
* Said module is on ``sys.path`` (``import mysite.settings`` should work).
|
||||
|
||||
* The module doesn't contain syntax errors (of course).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user