Reorder LMS imports using isort

This commit is contained in:
Andy Armstrong
2017-05-30 09:42:18 -04:00
parent 8d4db4ac4a
commit 79acb5c5be
553 changed files with 3100 additions and 3306 deletions

View File

@@ -1,16 +1,17 @@
"""Middleware for course_wiki"""
from urlparse import urlparse
from django.conf import settings
from django.core.exceptions import PermissionDenied
from django.http import Http404
from django.shortcuts import redirect
from django.core.exceptions import PermissionDenied
from wiki.models import reverse
from courseware.courses import get_course_with_access, get_course_overview_with_access
from courseware.access import has_access
from courseware.courses import get_course_overview_with_access, get_course_with_access
from openedx.features.enterprise_support.api import get_enterprise_consent_url
from student.models import CourseEnrollment
from util.request import course_id_from_url
from openedx.features.enterprise_support.api import get_enterprise_consent_url
class WikiAccessMiddleware(object):