bornhack-website/bornhack/urls.py

46 lines
1,020 B
Python
Raw Normal View History

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
from django.views.generic import TemplateView
2015-10-03 01:07:05 +00:00
urlpatterns = [
url(
2016-02-21 01:04:51 +00:00
r'^$',
TemplateView.as_view(template_name='frontpage.html'),
name='frontpage'
),
2016-02-21 01:04:51 +00:00
url(
r'good-to-know/',
TemplateView.as_view(template_name='good_to_know.html'),
name='good-to-know'
),
2016-02-20 22:39:02 +00:00
url(
r'^login/$',
LoginView.as_view(),
name='account_login',
),
url(
r'^logout/$',
LogoutView.as_view(),
name='account_logout',
),
url(
r'^profile/',
include('profiles.urls', namespace='profiles')
),
2016-05-06 20:33:59 +00:00
url(
r'^shop/',
include('shop.urls', namespace='shop')
2016-05-06 20:33:59 +00:00
),
url(r'^accounts/', include('allauth.urls')),
2015-10-03 01:07:05 +00:00
url(r'^admin/', include(admin.site.urls)),
]