diff options
| author | Aymeric Augustin | 2013-11-24 12:05:28 +0100 | 
|---|---|---|
| committer | Aymeric Augustin | 2013-11-24 12:09:47 +0100 | 
| commit | 1c1b4428642254f4e6b05e93bd135b894f708eeb (patch) | |
| tree | 0fc76a8c22a4dc25a5b48143a19947f390e3c28b /docs/installation.rst | |
| parent | db2de5b85ac1ae099b91bae402d21d6ea36ef306 (diff) | |
| download | django-debug-toolbar-1c1b4428642254f4e6b05e93bd135b894f708eeb.tar.bz2 | |
Take advantage of django.contrib.staticfiles to serve static files.
It is the de facto standard nowadays and there's no good reason not to use it.
Diffstat (limited to 'docs/installation.rst')
| -rw-r--r-- | docs/installation.rst | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/docs/installation.rst b/docs/installation.rst index 5d046a2..2522e34 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -22,13 +22,18 @@ instead with the following command::  Quick setup  ----------- -Add ``debug_toolbar`` to your ``INSTALLED_APPS`` setting:: +Make sure that ``'django.contrib.staticfiles'`` is set up properly and add +``'debug_toolbar'`` to your ``INSTALLED_APPS`` setting::      INSTALLED_APPS = (          # ... +        'django.contrib.staticfiles', +        # ...          'debug_toolbar',      ) +    STATIC_URL = '/static/' +  For a simple Django project, that's all you need!  The Debug Toolbar will automatically adjust a few settings when you start the | 
