Skip to content

Commit 984d0a6

Browse files
authored
Merge pull request #1061 from saschalalala/patch-1
Add a mising import
2 parents 1befcaf + 91c80f5 commit 984d0a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/installation.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ URLconf
4343
Add the Debug Toolbar's URLs to your project's URLconf as follows::
4444

4545
from django.conf import settings
46-
from django.conf.urls import include, url
46+
from django.conf.urls import include, url # For django versions before 2.0
47+
from django.urls import include, path # For django versions from 2.0 and up
4748

4849
if settings.DEBUG:
4950
import debug_toolbar

0 commit comments

Comments
 (0)