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

@@ -34,7 +34,7 @@ try:
from django.views.decorators.csrf import csrf_exempt
except ImportError:
from django.contrib.csrf.middleware import csrf_exempt
from django_future.csrf import ensure_csrf_cookie
from django.views.decorators.csrf import ensure_csrf_cookie
import django_openid_auth.views as openid_views
from django_openid_auth import auth as openid_auth