Import CMS code using fully qualified module names

or, using proper the proper Python 3 relative imports
(e.g., 'from .views import x') which are standard and
unambiguous.
This commit is contained in:
Kyle McCormick
2020-10-01 15:59:46 -04:00
committed by Kyle McCormick
parent 7538691484
commit 538dbf696b
114 changed files with 313 additions and 315 deletions

View File

@@ -10,10 +10,10 @@ from hashlib import sha1
import six
from eventtracking import tracker
from contentstore.signals.signals import GRADING_POLICY_CHANGED
from cms.djangoapps.contentstore.signals.signals import GRADING_POLICY_CHANGED
from track.event_transaction_utils import create_new_event_transaction_id
from xmodule.modulestore.django import modulestore
from models.settings.waffle import material_recompute_only
from cms.djangoapps.models.settings.waffle import material_recompute_only
log = logging.getLogger(__name__)