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

@@ -2,7 +2,7 @@
Views related to course groups functionality.
"""
from django_future.csrf import ensure_csrf_cookie
from django.views.decorators.csrf import ensure_csrf_cookie
from django.views.decorators.http import require_POST
from django.contrib.auth.models import User
from django.core.paginator import Paginator, EmptyPage