dnmgmt/dncore/urls.py

14 lines
457 B
Python
Raw Normal View History

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 = [
url(r'^$', dncore_views.dashboard, name='dashboard'),
url(r'^login/$', auth_views.login, name='login'),
2017-03-22 04:06:24 +01:00
url(r'^register/$', dncore_views.RegisterUser.as_view(), name='register'),
2017-02-14 22:26:16 +01:00
url(r'^logout/$', auth_views.logout, {'next_page': '/'}, name='logout'),
url(r'^profile/$', dncore_views.profile, name='profile'),
]