mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-21 23:43:11 +01:00
Moved login/logout templates into templates/helpdesk/registration/ rather than templates/registration/, so the helpdesk templates don't overwrite site-specific ones. Thanks to kotiwicz for the patch to issue #13.
This commit is contained in:
parent
ef1fdbc399
commit
1aba9e2475
@ -134,11 +134,12 @@ urlpatterns += patterns('',
|
||||
|
||||
url(r'^login/$',
|
||||
'django.contrib.auth.views.login',
|
||||
{'template_name': 'helpdesk/registration/login.html'},
|
||||
name='login'),
|
||||
|
||||
url(r'^logout/$',
|
||||
'django.contrib.auth.views.logout',
|
||||
{'next_page': '../'},
|
||||
{'template_name': 'helpdesk/registration/login.html', 'next_page': '../'},
|
||||
name='logout'),
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user