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:
Ross Poulton 2011-02-02 08:05:33 +00:00
parent ef1fdbc399
commit 1aba9e2475
3 changed files with 2 additions and 1 deletions

View File

@ -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'),
)