Properly include ddt's urls using include
This commit is contained in:
parent
e1713a1d4f
commit
1a107be4ba
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ urlpatterns = [
|
|||
if 'debug_toolbar' in settings.INSTALLED_APPS:
|
||||
import debug_toolbar
|
||||
urlpatterns += [
|
||||
url(r'^__debug__/', debug_toolbar.urls),
|
||||
url(r'^__debug__/', include(debug_toolbar.urls)),
|
||||
]
|
||||
|
||||
# Si on est en production, MEDIA_ROOT est servi par Apache.
|
||||
|
|
Loading…
Reference in a new issue