poulpe/evenementiel/urls.py

21 lines
536 B
Python
Raw Normal View History

2016-09-28 20:36:48 +02:00
"""
2017-03-05 19:10:19 +01:00
GestionÉvenementiel URL configuration
"""
2017-02-21 21:01:05 +01:00
from django.conf import settings
2017-02-18 18:28:11 +01:00
from django.conf.urls import url, include
2016-09-28 20:36:48 +02:00
from django.contrib import admin
urlpatterns = [
url(r'^admin/', admin.site.urls),
2017-02-18 18:28:11 +01:00
url(r'^event/', include('event.urls')),
2017-02-21 16:56:34 +01:00
url(r'^user/', include('users.urls')),
2017-07-18 17:48:59 +02:00
url(r'^api/', include('api.urls')),
2017-02-21 15:32:03 +01:00
url(r'^', include('shared.urls')),
2016-09-28 20:36:48 +02:00
]
2017-02-18 18:28:11 +01:00
2017-07-18 15:37:13 +02:00
if 'debug_toolbar' in settings.INSTALLED_APPS:
2017-02-18 18:28:11 +01:00
import debug_toolbar
urlpatterns += [
url(r'^__debug__/', include(debug_toolbar.urls)),
]