mirror of
https://github.com/pinry/pinry.git
synced 2025-11-14 00:55:43 +01:00
New version of django fix the RuntimeError while saving wepb file. The patch will not be applied to Django 1.8 Ref: https://www.djangoproject.com/download/#supported-versions Ref: https://github.com/django/django/pull/10331
13 lines
389 B
Python
13 lines
389 B
Python
from django.conf.urls import url
|
|
from django.contrib.auth.views import login
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
url(r'^private/$', views.private, name='private'),
|
|
url(r'^register/$', views.CreateUser.as_view(), name='register'),
|
|
url(r'^login/$', login,
|
|
{'template_name': 'users/login.html'}, name='login'),
|
|
url(r'^logout/$', views.logout_user, name='logout'),
|
|
]
|