diff --git a/django/core/management/commands/runserver.py b/django/core/management/commands/runserver.py index 49e270d04a5..c76946cb7bf 100644 --- a/django/core/management/commands/runserver.py +++ b/django/core/management/commands/runserver.py @@ -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.'), ) diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 14ddda0e7c4..1065f8e97d1 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -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 diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 14fc69f99ed..a91e2749a56 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -694,7 +694,7 @@ Example usage:: Use the ``--insecure`` option to force serving of static files with the :doc:`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**.