forked from benadida/helios-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathurls.py
31 lines (24 loc) · 754 Bytes
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
"""
Authentication URLs
Ben Adida ([email protected])
"""
from django.conf.urls import *
from views import *
from auth_systems.password import password_login_view, password_forgotten_view
from auth_systems.twitter import follow_view
urlpatterns = patterns('',
# basic static stuff
(r'^$', index),
(r'^logout$', logout),
(r'^start/(?P<system_name>.*)$', start),
# weird facebook constraint for trailing slash
(r'^after/$', after),
(r'^why$', perms_why),
(r'^after_intervention$', after_intervention),
## should make the following modular
# password auth
(r'^password/login', password_login_view),
(r'^password/forgot', password_forgotten_view),
# twitter
(r'^twitter/follow', follow_view),
)