dnmgmt/dncore/urls.py

18 lines
646 B
Python
Raw Normal View History

2018-01-17 00:23:00 +01:00
# This file is part of dnmgmt, a number resource management system
# Licensed under GNU General Public License v3 or later
# Written by Sebastian Lohff (seba@someserver.de)
2017-02-14 22:26:16 +01:00
from django.conf.urls import url
from django.contrib.auth import views as auth_views
from . import views as dncore_views
urlpatterns = [
2019-05-30 22:10:55 +02:00
url(r'^$', dncore_views.dashboard, name='dashboard'),
2017-02-14 22:26:16 +01:00
2019-05-30 22:10:55 +02:00
url(r'^login/$', auth_views.login, name='login'),
url(r'^register/$', dncore_views.RegisterUser.as_view(), name='register'),
url(r'^logout/$', auth_views.logout, {'next_page': '/'}, name='logout'),
url(r'^profile/$', dncore_views.profile, name='profile'),
2017-02-14 22:26:16 +01:00
]