diff options
| author | Jannis Leidel <jannis@leidel.info> | 2010-11-13 18:41:55 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2010-11-13 18:41:55 +0000 |
| commit | e9f3899b20e067af51a869e5538a1e513ddd0702 (patch) | |
| tree | d7672e2a87e0d27af8b086926987550afcc860ff /docs/ref/django-admin.txt | |
| parent | 1ed62706e7c2fef945c50918e912435929164ad6 (diff) | |
Refactored runserver command and moved code related to staticfiles to a subclass that is enabled if staticfiles app is installed.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/django-admin.txt')
| -rw-r--r-- | docs/ref/django-admin.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index a91e2749a5..43e55acab2 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -684,7 +684,9 @@ Example usage:: .. django-admin-option:: --nostatic Use the ``--nostatic`` option to disable serving of static files with the -:doc:`staticfiles </ref/contrib/staticfiles>` app entirely. +:doc:`staticfiles </ref/contrib/staticfiles>` app entirely. This option is +only available if the :doc:`staticfiles </ref/contrib/staticfiles>` app is +in your project's :setting:`INSTALLED_APPS` setting. Example usage:: @@ -696,7 +698,9 @@ 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 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**. +local development, should **never be used in production** and is only +available if the :doc:`staticfiles </ref/contrib/staticfiles>` app is +in your project's :setting:`INSTALLED_APPS` setting. See the :doc:`reference documentation of the app </ref/contrib/staticfiles>` for more details and learn how to :doc:`manage and deploy static files |
