Use Django 1.4 @ensure_csrf_cookie method PLAT-664
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user