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
|
|
|
|
2012-10-27 18:17:22 +02:00
|
|
|
# PDF
|
2012-08-11 10:09:54 +02:00
|
|
|
url(r'^print/$',
|
2014-10-11 14:34:49 +02:00
|
|
|
views.UsersListPDF.as_view(),
|
2015-06-24 15:04:40 +02:00
|
|
|
name='user_listpdf'),
|
2012-08-11 10:09:54 +02:00
|
|
|
|
2012-07-07 15:26:00 +02:00
|
|
|
url(r'^passwords/print/$',
|
2014-10-11 14:34:49 +02:00
|
|
|
views.UsersPasswordsPDF.as_view(),
|
2015-06-24 15:04:40 +02:00
|
|
|
name='user_passwordspdf'),
|
2015-02-12 22:42:54 +01:00
|
|
|
|
|
|
|
# auth
|
|
|
|
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'),
|
2011-07-31 10:46:29 +02:00
|
|
|
)
|