X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/a55b5f91ad440cd0c35ac45cbe2515e238e9a7c8..4e52d8847f8cd9909de7ad19bb4b88629f631a0f:/forum/views/admin.py?ds=sidebyside 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