mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-12 17:23:15 +00:00
Removed hacky url config (reverts #291)
I've hated this bit of code since I had to write it. It makes creating frontend login views more difficult than it should be so it's time for it to go.
This commit is contained in:
parent
27da6b2ddd
commit
5cdb37e9dd
1 changed files with 0 additions and 7 deletions
|
|
@ -96,13 +96,6 @@ urlpatterns += [
|
|||
]
|
||||
|
||||
|
||||
# This is here to make sure that 'django.contrib.auth.views.login' is reversed correctly
|
||||
# It must be placed after 'wagtailadmin_login' to prevent this from being used
|
||||
urlpatterns += [
|
||||
url(r'^login/$', 'django.contrib.auth.views.login'),
|
||||
]
|
||||
|
||||
|
||||
# Import additional urlpatterns from any apps that define a register_admin_urls hook
|
||||
for fn in hooks.get_hooks('register_admin_urls'):
|
||||
urls = fn()
|
||||
|
|
|
|||
Loading…
Reference in a new issue