Skip to content

Commit c2658d1

Browse files
committed
Use modern URLconf style in docs.
1 parent 73b68da commit c2658d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ Add the Debug Toolbar's URLs to your project's URLconf as follows::
7777

7878
if settings.DEBUG:
7979
import debug_toolbar
80-
urlpatterns += patterns('',
80+
urlpatterns += [
8181
url(r'^__debug__/', include(debug_toolbar.urls)),
82-
)
82+
]
8383

8484
This example uses the ``__debug__`` prefix, but you can use any prefix that
8585
doesn't clash with your application's URLs. Note the lack of quotes around

0 commit comments

Comments
 (0)