mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-05-20 17:30:46 +02: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/$',
|
url(r'^login/$',
|
||||||
'django.contrib.auth.views.login',
|
'django.contrib.auth.views.login',
|
||||||
|
{'template_name': 'helpdesk/registration/login.html'},
|
||||||
name='login'),
|
name='login'),
|
||||||
|
|
||||||
url(r'^logout/$',
|
url(r'^logout/$',
|
||||||
'django.contrib.auth.views.logout',
|
'django.contrib.auth.views.logout',
|
||||||
{'next_page': '../'},
|
{'template_name': 'helpdesk/registration/login.html', 'next_page': '../'},
|
||||||
name='logout'),
|
name='logout'),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user