mirror of https://github.com/django/django.git
Fixed a few typos introduced in r14533.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
d9ae7c6b37
commit
1ed62706e7
|
@ -12,7 +12,7 @@ class Command(BaseCommand):
|
|||
make_option('--nostatic', action="store_false", dest='use_static_handler', default=True,
|
||||
help='Tells Django to NOT automatically serve static files at STATICFILES_URL.'),
|
||||
make_option('--insecure', action="store_true", dest='insecure_serving', default=False,
|
||||
help='Allows serving static files even if DEBUG is True.'),
|
||||
help='Allows serving static files even if DEBUG is False.'),
|
||||
make_option('--adminmedia', dest='admin_media_path', default='',
|
||||
help='Specifies the directory from which to serve admin media.'),
|
||||
)
|
||||
|
|
|
@ -129,7 +129,7 @@ their deprecation, as per the :ref:`Django deprecation policy
|
|||
|
||||
* The :class:`~django.core.servers.basehttp.AdminMediaHandler` has
|
||||
been deprecated in favor of the
|
||||
:class:`~django.contrib.staticfiles.handlers.StaticFilesHAndler`.
|
||||
:class:`~django.contrib.staticfiles.handlers.StaticFilesHandler`.
|
||||
|
||||
* 2.0
|
||||
* ``django.views.defaults.shortcut()``. This function has been moved
|
||||
|
|
|
@ -694,7 +694,7 @@ Example usage::
|
|||
|
||||
Use the ``--insecure`` option to force serving of static files with the
|
||||
:doc:`staticfiles </ref/contrib/staticfiles>` app even if the :setting:`DEBUG`
|
||||
setting is ``False``. By using this you acknoledge the fact that it's
|
||||
setting is ``False``. By using this you acknowledge the fact that it's
|
||||
**grossly inefficient** and probably **insecure**. This is only intended for
|
||||
local development, and should **never be used in production**.
|
||||
|
||||
|
|
Loading…
Reference in New Issue