PLAT-1408: Import csrf from new path.

This commit is contained in:
John Eskew
2017-09-21 11:40:52 -04:00
parent 4b95abb715
commit 0890193d6b
11 changed files with 11 additions and 11 deletions

View File

@@ -3,7 +3,7 @@ Views to show a course's bookmarks.
"""
from django.contrib.auth.decorators import login_required
from django.core.context_processors import csrf
from django.template.context_processors import csrf
from django.core.urlresolvers import reverse
from django.shortcuts import render_to_response
from django.template.loader import render_to_string

View File

@@ -2,7 +2,7 @@
Views for the course home page.
"""
from django.core.context_processors import csrf
from django.template.context_processors import csrf
from django.core.urlresolvers import reverse
from django.template.loader import render_to_string
from django.utils.decorators import method_decorator

View File

@@ -1,7 +1,7 @@
"""
Views to show a course outline.
"""
from django.core.context_processors import csrf
from django.template.context_processors import csrf
from django.template.loader import render_to_string
from opaque_keys.edx.keys import CourseKey
from web_fragments.fragment import Fragment

View File

@@ -4,7 +4,7 @@ Views that handle course updates.
from datetime import datetime
from django.contrib.auth.decorators import login_required
from django.core.context_processors import csrf
from django.template.context_processors import csrf
from django.core.urlresolvers import reverse
from django.template.loader import render_to_string
from django.utils.decorators import method_decorator

View File

@@ -3,7 +3,7 @@ Views for the course search page.
"""
from django.contrib.auth.decorators import login_required
from django.core.context_processors import csrf
from django.template.context_processors import csrf
from django.core.urlresolvers import reverse
from django.template.loader import render_to_string
from django.utils.decorators import method_decorator