Use Django 1.4 @ensure_csrf_cookie method PLAT-664

This commit is contained in:
Sarina Canelake
2015-06-06 00:42:59 -04:00
parent c5dc84f891
commit e53b9c83d9
29 changed files with 28 additions and 113 deletions

View File

@@ -7,7 +7,7 @@ from django.http import Http404, HttpResponse, HttpResponseNotFound
from django.contrib.auth.decorators import login_required
from django.utils.html import escape
from django_future.csrf import ensure_csrf_cookie
from django.views.decorators.csrf import ensure_csrf_cookie
from edxmako.shortcuts import render_to_response
from codejail.safe_exec import safe_exec