2016-02-20 02:00:08 +00:00
|
|
|
from allauth.account.views import (
|
|
|
|
SignupView,
|
|
|
|
LoginView,
|
|
|
|
LogoutView,
|
|
|
|
ConfirmEmailView,
|
|
|
|
EmailVerificationSentView,
|
|
|
|
PasswordResetView
|
|
|
|
)
|
2015-10-03 01:07:05 +00:00
|
|
|
from django.conf.urls import include, url
|
|
|
|
from django.contrib import admin
|
2016-06-06 16:48:55 +00:00
|
|
|
from django.views.generic import TemplateView, RedirectView
|
2015-10-03 01:07:05 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
2015-10-05 16:35:30 +00:00
|
|
|
url(
|
2016-02-21 01:04:51 +00:00
|
|
|
r'^$',
|
2015-10-05 16:35:30 +00:00
|
|
|
TemplateView.as_view(template_name='frontpage.html'),
|
|
|
|
name='frontpage'
|
|
|
|
),
|
2016-02-21 01:04:51 +00:00
|
|
|
url(
|
2016-06-01 08:44:14 +00:00
|
|
|
r'info/',
|
|
|
|
TemplateView.as_view(template_name='info.html'),
|
|
|
|
name='info'
|
2016-02-21 01:04:51 +00:00
|
|
|
),
|
2016-05-19 09:19:51 +00:00
|
|
|
url(
|
|
|
|
r'contact/',
|
|
|
|
TemplateView.as_view(template_name='contact.html'),
|
|
|
|
name='contact'
|
|
|
|
),
|
2016-06-06 15:33:25 +00:00
|
|
|
url(
|
|
|
|
r'conduct/',
|
|
|
|
TemplateView.as_view(template_name='coc.html'),
|
|
|
|
name='conduct'
|
|
|
|
),
|
2016-06-06 16:48:55 +00:00
|
|
|
url(
|
|
|
|
r'call-for-sponsors/',
|
|
|
|
TemplateView.as_view(template_name='sponsors.html'),
|
|
|
|
name='call-for-sponsors'
|
|
|
|
),
|
|
|
|
url(r'^sponsors/$', RedirectView.as_view(url=reverse_lazy('call-for-sponsors'), permanent=True)),
|
|
|
|
url(
|
|
|
|
r'call-for-speakers/',
|
|
|
|
TemplateView.as_view(template_name='speakers.html'),
|
|
|
|
name='call-for-speakers'
|
|
|
|
),
|
|
|
|
url(r'^speakers/$', RedirectView.as_view(url=reverse_lazy('call-for-speakers'), permanent=True)),
|
2016-02-20 22:39:02 +00:00
|
|
|
url(
|
|
|
|
r'^login/$',
|
|
|
|
LoginView.as_view(),
|
|
|
|
name='account_login',
|
|
|
|
),
|
2016-02-20 02:00:08 +00:00
|
|
|
url(
|
|
|
|
r'^logout/$',
|
|
|
|
LogoutView.as_view(),
|
|
|
|
name='account_logout',
|
|
|
|
),
|
2016-06-01 12:08:24 +00:00
|
|
|
url(
|
|
|
|
r'privacy-policy/$',
|
|
|
|
TemplateView.as_view(template_name='legal/privacy_policy.html'),
|
|
|
|
name='privacy-policy'
|
|
|
|
),
|
|
|
|
url(
|
|
|
|
r'general-terms-and-conditions/$',
|
|
|
|
TemplateView.as_view(template_name='legal/general_terms_and_conditions.html'),
|
|
|
|
name='general-terms'
|
|
|
|
),
|
2016-02-20 02:00:08 +00:00
|
|
|
url(
|
|
|
|
r'^profile/',
|
|
|
|
include('profiles.urls', namespace='profiles')
|
|
|
|
),
|
2016-05-06 20:33:59 +00:00
|
|
|
url(
|
2016-05-10 20:20:01 +00:00
|
|
|
r'^shop/',
|
|
|
|
include('shop.urls', namespace='shop')
|
2016-05-06 20:33:59 +00:00
|
|
|
),
|
2016-05-30 19:36:14 +00:00
|
|
|
url(
|
|
|
|
r'^news/',
|
|
|
|
include('news.urls', namespace='news')
|
|
|
|
),
|
2016-02-20 02:00:08 +00:00
|
|
|
url(r'^accounts/', include('allauth.urls')),
|
2015-10-03 01:07:05 +00:00
|
|
|
url(r'^admin/', include(admin.site.urls)),
|
2016-06-06 16:48:55 +00:00
|
|
|
|
2015-10-03 01:07:05 +00:00
|
|
|
]
|