-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathurls.py
More file actions
58 lines (42 loc) · 1.49 KB
/
urls.py
File metadata and controls
58 lines (42 loc) · 1.49 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
from django.conf.urls import include, url
from django.contrib.auth.views import logout
from . import views
urlpatterns = [
# Home Page
url(r'^$', views.index, name='index'),
# About Page
url(r'^about/$', views.about, name='about'),
# Sponsors Page
url(r'^sponsors/$', views.sponsors, name='sponsors'),
# Contact Page
url(r'^contact/$', views.contact, name='contact'),
# Event Page
url(r'^events/$', views.events, name='events'),
# Keynotes Page
url(r'^keynotes/$', views.keynotes, name='keynotes'),
# Reach Us Page
url(r'^reachus/$', views.reachus, name='reachus'),
# FAQ Page
url(r'^faq/$', views.faq, name='FAQ'),
# Subscribe Page
url(r'^subscribe/$', views.subscribe, name='subscribe'),
# Event View Page
url(r'^events/(?P<event_identifier>[a-z]*)/$',
views.event_view, name='event_view'),
# Keynote View Page
url(r'^keynote/(?P<keynote_identifier>[a-z]*)/$',
views.keynote_view, name='keynote_view'),
# Event Register Page
url(r'^register_event/(?P<event_identifier>[a-z]*)/$',
views.register_event, name='register_event'),
# Login Page
url(r'^login/$', views.login_page, name='login_page'),
# social login urls
url('', include('social_django.urls', namespace='social')),
# Form to complete profile
url(r'^complete_profile/$',
views.complete_profile, name='complete_profile'),
# logout url
url(r'^logout/$',
logout, {'next_page': '/'})
]