Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jelle van der Waa
Archweb
Commits
b74466cf
Commit
b74466cf
authored
Nov 17, 2018
by
Jelle van der Waa
🚧
Browse files
urls: Update to Django 2.x
parent
a8419362
Changes
1
Hide whitespace changes
Inline
Side-by-side
urls.py
View file @
b74466cf
...
...
@@ -66,7 +66,7 @@
# Includes and other remaining stuff
urlpatterns
.
extend
([
url
(
r
'^admin/'
,
include
(
admin
.
site
.
urls
)
)
,
url
(
r
'^admin/'
,
admin
.
site
.
urls
),
url
(
r
'^devel/'
,
include
(
devel
.
urls
)),
url
(
r
'^feeds/'
,
include
(
feeds_patterns
)),
url
(
r
'^groups/'
,
include
(
packages
.
urls_groups
)),
...
...
@@ -100,8 +100,8 @@
# Authentication
urlpatterns
.
extend
([
url
(
r
'^login/$'
,
auth_views
.
l
ogin
,
{
'
template_name
'
:
'registration/login.html'
}
,
name
=
'login'
),
url
(
r
'^logout/$'
,
auth_views
.
l
ogout
,
{
'
template_name
'
:
'registration/logout.html'
}
,
name
=
'logout'
),
url
(
r
'^login/$'
,
auth_views
.
L
ogin
View
.
as_view
(
template_name
=
'registration/login.html'
)
,
name
=
'login'
),
url
(
r
'^logout/$'
,
auth_views
.
L
ogout
View
.
as_view
(
template_name
=
'registration/logout.html'
)
,
name
=
'logout'
),
])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment