diff --git a/evenementiel/urls.py b/evenementiel/urls.py index a33af57..261a59f 100644 --- a/evenementiel/urls.py +++ b/evenementiel/urls.py @@ -1,7 +1,16 @@ -from django.conf.urls import url +from django.conf import settings +from django.conf.urls import url, include +from django.conf.urls.static import static from django.contrib import admin urlpatterns = [ url(r'^admin/', admin.site.urls), + url(r'^event/', include('event.urls')), url(r'^user/', include('user.urls')), ] + +if settings.DEBUG: + import debug_toolbar + urlpatterns += [ + url(r'^__debug__/', include(debug_toolbar.urls)), + ]