Coupure prévue mardi 3 Août au matin pour maintenance du serveur. Nous faisons au mieux pour que celle-ci soit la plus brève possible.

urls.py 786 Bytes
Newer Older
1
2
"""URLs module."""

3
4
from django.conf.urls import url
from django.contrib.auth import views as auth_views
5
from django.views.generic import TemplateView
6
7
8
9
10
11
12
13
14
15

from . import views

urlpatterns = [
    url(r'^signup/$', views.signup, name='signup'),
    url(r'^signin/$', auth_views.login,
        {'template_name': 'hope/signin.html'}, name='signin'),
    url(r'^signout/$', auth_views.logout,
        {'template_name': 'hope/signout.html'}, name='signout'),
    url(r'^account_activation_sent/$',
16
17
        TemplateView.as_view(template_name='hope/account_activation_sent.html'),  # noqa
        name='account_activation_sent'),
18
19
20
21
22
    url(r'^activate/'
        r'(?P<uidb64>[0-9A-Za-z_\-]+)/'
        r'(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$',
        views.activate, name='activate')
]