mirror of
https://github.com/django/django.git
synced 2025-11-02 04:48:33 +00:00
Fixed #23067 -- Updated docs to use django-admin
This commit is contained in:
parent
66630f589c
commit
d47409831f
31 changed files with 187 additions and 198 deletions
|
|
@ -24,7 +24,7 @@ To activate a middleware component, add it to the
|
|||
|
||||
In :setting:`MIDDLEWARE_CLASSES`, each middleware component is represented by
|
||||
a string: the full Python path to the middleware's class name. For example,
|
||||
here's the default value created by :djadmin:`django-admin.py startproject
|
||||
here's the default value created by :djadmin:`django-admin startproject
|
||||
<startproject>`::
|
||||
|
||||
MIDDLEWARE_CLASSES = (
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ To enable session functionality, do the following:
|
|||
|
||||
* Edit the :setting:`MIDDLEWARE_CLASSES` setting and make sure
|
||||
it contains ``'django.contrib.sessions.middleware.SessionMiddleware'``.
|
||||
The default ``settings.py`` created by ``django-admin.py startproject``
|
||||
The default ``settings.py`` created by ``django-admin startproject``
|
||||
has ``SessionMiddleware`` activated.
|
||||
|
||||
If you don't want to use sessions, you might as well remove the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue