1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #23067 -- Updated docs to use django-admin

This commit is contained in:
Christoph Heer
2014-07-26 13:21:52 +02:00
committed by Tim Graham
parent 66630f589c
commit d47409831f
31 changed files with 187 additions and 198 deletions

View File

@@ -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 = (

View File

@@ -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