28 lines
808 B
Python
28 lines
808 B
Python
"""
|
|
GestionÉvenementiel URL configuration
|
|
"""
|
|
from django.conf import settings
|
|
from django.conf.urls import url, include
|
|
from django.contrib import admin
|
|
|
|
#from django_cas_ng import views as django_cas_views
|
|
from allauth_ens.views import capture_login, capture_logout
|
|
|
|
|
|
urlpatterns = [
|
|
url(r'^compte/', include('allauth.urls')),
|
|
|
|
url(r'^login/$', capture_login, name="login"),
|
|
url(r'^logout/$', capture_logout, name="logout"),
|
|
url(r'^admin/', admin.site.urls),
|
|
url(r'^event/', include('event.urls')),
|
|
url(r'^user/', include('users.urls')),
|
|
url(r'^api/', include('api.urls')),
|
|
url(r'^', include('shared.urls')),
|
|
]
|
|
|
|
if 'debug_toolbar' in settings.INSTALLED_APPS:
|
|
import debug_toolbar
|
|
urlpatterns += [
|
|
url(r'^__debug__/', include(debug_toolbar.urls)),
|
|
]
|