From 91c80f5f534fb570243ffa16ad1c1a3cb76f5433 Mon Sep 17 00:00:00 2001 From: saschalalala Date: Sun, 27 May 2018 11:06:20 +0200 Subject: [PATCH] Add a mising import `path` needs to be imported. --- docs/installation.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/installation.rst b/docs/installation.rst index 5ed9f0a84..1ac863f4f 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -43,7 +43,8 @@ URLconf Add the Debug Toolbar's URLs to your project's URLconf as follows:: from django.conf import settings - from django.conf.urls import include, url + from django.conf.urls import include, url # For django versions before 2.0 + from django.urls import include, path # For django versions from 2.0 and up if settings.DEBUG: import debug_toolbar