No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

urls.py 631B

1234567891011121314151617
  1. # This file is part of dnmgmt, a number resource management system
  2. # Licensed under GNU General Public License v3 or later
  3. # Written by Sebastian Lohff (seba@someserver.de)
  4. from django.conf.urls import url
  5. from django.contrib.auth import views as auth_views
  6. from . import views as dncore_views
  7. urlpatterns = [
  8. url(r'^$', dncore_views.dashboard, name='dashboard'),
  9. url(r'^login/$', auth_views.login, name='login'),
  10. url(r'^register/$', dncore_views.RegisterUser.as_view(), name='register'),
  11. url(r'^logout/$', auth_views.logout, {'next_page': '/'}, name='logout'),
  12. url(r'^profile/$', dncore_views.profile, name='profile'),
  13. ]