X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/a55b5f91ad440cd0c35ac45cbe2515e238e9a7c8..8aed7f1fb190f48c3871e75b82ac2236dd0dfa72:/forum/views/admin.py diff --git a/forum/views/admin.py b/forum/views/admin.py index 67047ba..4823920 100644 --- a/forum/views/admin.py +++ b/forum/views/admin.py @@ -1,6 +1,7 @@ from datetime import datetime, timedelta import time +from django.views.decorators.csrf import csrf_exempt from django.shortcuts import render_to_response, get_object_or_404 from django.core.urlresolvers import reverse from django.http import HttpResponseRedirect, HttpResponse, Http404 @@ -574,6 +575,7 @@ def node_management(request): 'hide_menu': True })) +@csrf_exempt @super_user_required def test_email_settings(request): user = request.user