mirror of
https://github.com/django/django.git
synced 2025-08-26 11:49:12 +00:00
Refs #36485 -- Removed trailing spaces and tabs in docs.
This commit is contained in:
parent
724e5ec6f2
commit
01a460f23e
@ -39,8 +39,8 @@ For example:
|
|||||||
|
|
||||||
The customization above adds :func:`~django.urls.resolve` and
|
The customization above adds :func:`~django.urls.resolve` and
|
||||||
:func:`~django.urls.reverse` to the default namespace, which already includes
|
:func:`~django.urls.reverse` to the default namespace, which already includes
|
||||||
all models from the apps listed in :setting:`INSTALLED_APPS` plus what is
|
all models from the apps listed in :setting:`INSTALLED_APPS` plus what is
|
||||||
imported by default. These objects will be available in the ``shell`` without
|
imported by default. These objects will be available in the ``shell`` without
|
||||||
requiring a manual import.
|
requiring a manual import.
|
||||||
|
|
||||||
Running this customized ``shell`` command with ``verbosity=2`` would show:
|
Running this customized ``shell`` command with ``verbosity=2`` would show:
|
||||||
@ -48,7 +48,7 @@ Running this customized ``shell`` command with ``verbosity=2`` would show:
|
|||||||
.. console::
|
.. console::
|
||||||
|
|
||||||
13 objects imported automatically:
|
13 objects imported automatically:
|
||||||
|
|
||||||
from django.db import connection, reset_queries, models
|
from django.db import connection, reset_queries, models
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.contrib.admin.models import LogEntry
|
from django.contrib.admin.models import LogEntry
|
||||||
|
Loading…
x
Reference in New Issue
Block a user