mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Used :envvar: role and .. envvar:: directive in various docs.
This commit is contained in:
committed by
Mariusz Felisiak
parent
feb91dbda1
commit
fbdb032de2
@@ -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