2013-09-25 10:01:01 +02:00
|
|
|
from django.conf.urls import patterns, url
|
2011-07-31 10:46:29 +02:00
|
|
|
|
2013-09-25 10:01:01 +02:00
|
|
|
from . import views
|
2012-10-27 18:17:22 +02:00
|
|
|
|
2013-09-25 10:01:01 +02:00
|
|
|
urlpatterns = patterns(
|
|
|
|
'',
|
2012-04-13 21:43:16 +02:00
|
|
|
|
2015-09-16 00:55:27 +02:00
|
|
|
# Auth
|
2015-02-12 22:42:54 +01:00
|
|
|
url(r'^login/$',
|
|
|
|
views.UserLoginView.as_view(),
|
|
|
|
name='user_login'),
|
|
|
|
|
|
|
|
url(r'^logout/$',
|
|
|
|
views.UserLogoutView.as_view(),
|
|
|
|
name='user_logout'),
|
|
|
|
|
|
|
|
url(r'^whoami/$',
|
|
|
|
views.WhoAmIView.as_view(),
|
|
|
|
name='user_whoami'),
|
2015-09-16 00:55:27 +02:00
|
|
|
|
|
|
|
# PDF
|
|
|
|
url(r'^print/$',
|
|
|
|
views.UsersListPDF.as_view(),
|
|
|
|
name='user_listpdf'),
|
|
|
|
|
|
|
|
url(r'^passwords/print/$',
|
|
|
|
views.UsersPasswordsPDF.as_view(),
|
|
|
|
name='user_passwordspdf'),
|
2011-07-31 10:46:29 +02:00
|
|
|
)
|