From 1c1b4428642254f4e6b05e93bd135b894f708eeb Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 24 Nov 2013 12:05:28 +0100 Subject: 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. --- docs/installation.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'docs') 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 -- cgit v1.2.3