django-refunds/authentication/urls.py

16 lines
340 B
Python
Raw Normal View History

2016-06-03 19:33:51 +02:00
from django.conf.urls import url
from django.contrib.auth.views import login, logout
urlpatterns = [
url(r'^login/$',
login,
{'template_name': 'authentication/login.html'},
name='auth_login'
),
url(r'^logout/$',
logout,
2016-06-03 20:02:26 +02:00
{'next_page': 'home'},
2016-06-03 19:33:51 +02:00
name='auth_logout'
),
]