From 37fadc0a0af4db7a0d3dd750e6a43efe4aed5ad9 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Wed, 8 Jan 2014 21:32:02 +0100 Subject: Add an AppConfig for Django 1.7. --- docs/installation.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs/installation.rst') diff --git a/docs/installation.rst b/docs/installation.rst index f761e91..70ca46e 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -23,12 +23,16 @@ Quick setup Make sure that ``'django.contrib.staticfiles'`` is `set up properly `_ and add -``'debug_toolbar'`` to your ``INSTALLED_APPS`` setting:: +``'debug_toolbar.apps.DebugToolbarConfig'`` (Django ≥ 1.7) or +``'debug_toolbar'`` (Django < 1.7) to your ``INSTALLED_APPS`` setting:: INSTALLED_APPS = ( # ... 'django.contrib.staticfiles', # ... + # If you're using Django 1.7.x or later + 'debug_toolbar.apps.DebugToolbarConfig', + # If you're using Django 1.6.x or earlier 'debug_toolbar', ) -- cgit v1.2.3