Properly include ddt's urls using include

This commit is contained in:
Martin Pépin 2017-03-18 19:14:51 +00:00
parent e1713a1d4f
commit 1a107be4ba

View file

@ -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.