Commit 8b702671 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

helpdesk: Exempt csrf check from helpdesk action views

custom csrf handling is already applied in those views.

Fixes action errors when cyclades are installed along with astakos app which
enables csrf protection middleware.
parent 87954ee6
......@@ -71,6 +71,10 @@ cyclades_patterns = api_patterns(
cyclades_patterns += patterns(
(prefix_pattern(UI_PREFIX), include('synnefo.ui.urls')),
cyclades_patterns += api_patterns(
(prefix_pattern(HELPDESK_PREFIX), include('synnefo.helpdesk.urls')),
......@@ -159,7 +159,7 @@ def index(request):
# if form submitted redirect to details
account = request.GET.get('account', None)
if account:
return redirect('synnefo.helpdesk.views.account',
return redirect('helpdesk-details',
# show index template
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment