PonyConf/accounts/urls.py
Guilhem Saurel b4490c8eee Fix stuffs.
Maybe breaks other things, don't know, can't test mails for now.
2016-06-20 01:00:08 +02:00

14 lines
553 B
Python

from django.conf import settings
from django.conf.urls import include, url
from django.contrib.auth import views as auth_views
from . import views
urlpatterns = [
url(r'^profile$', views.profile, name='profile'),
url(r'^logout/$', auth_views.logout, {'next_page': settings.LOGOUT_REDIRECT_URL}, name='logout'),
url(r'^admin/participants/$', views.participants, name='participants'),
url(r'^admin/participant/(?P<username>[\w.@+-]+)$', views.participant, name='show-participation'),
url(r'', include('django.contrib.auth.urls')),
]