mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[3.1.x] Used :envvar: role and .. envvar:: directive in various docs.
Backport of fbdb032de2 from master
This commit is contained in:
committed by
Mariusz Felisiak
parent
345fa40cb5
commit
4eb5e4ee4f
@@ -378,8 +378,8 @@ API Django gives you. To invoke the Python shell, use this command:
|
||||
$ python manage.py shell
|
||||
|
||||
We're using this instead of simply typing "python", because :file:`manage.py`
|
||||
sets the ``DJANGO_SETTINGS_MODULE`` environment variable, which gives Django
|
||||
the Python import path to your :file:`mysite/settings.py` file.
|
||||
sets the :envvar:`DJANGO_SETTINGS_MODULE` environment variable, which gives
|
||||
Django the Python import path to your :file:`mysite/settings.py` file.
|
||||
|
||||
Once you're in the shell, explore the :doc:`database API </topics/db/queries>`::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user