mirror of
https://github.com/django/django.git
synced 2025-08-02 18:13:02 +00:00
[3.1.x] Used :envvar: role and .. envvar:: directive in various docs.
Backport of fbdb032de2
from master
This commit is contained in:
parent
345fa40cb5
commit
4eb5e4ee4f
15 changed files with 65 additions and 49 deletions
|
@ -2,12 +2,12 @@
|
|||
FAQ: Using Django
|
||||
=================
|
||||
|
||||
Why do I get an error about importing DJANGO_SETTINGS_MODULE?
|
||||
=============================================================
|
||||
Why do I get an error about importing :envvar:`DJANGO_SETTINGS_MODULE`?
|
||||
=======================================================================
|
||||
|
||||
Make sure that:
|
||||
|
||||
* The environment variable DJANGO_SETTINGS_MODULE is set to a
|
||||
* The environment variable :envvar:`DJANGO_SETTINGS_MODULE` is set to a
|
||||
fully-qualified Python module (i.e. "mysite.settings").
|
||||
|
||||
* Said module is on ``sys.path`` (``import mysite.settings`` should work).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue