PLAT-1942 Handle xmodule_django field deprecations

This commit is contained in:
Jeremy Bowman
2018-02-05 15:05:54 -05:00
parent ffbb0c16ef
commit bf86b3da98
89 changed files with 147 additions and 255 deletions

View File

@@ -6,7 +6,7 @@ import django.utils.timezone
from django.conf import settings
import model_utils.fields
import django.core.validators
from openedx.core.djangoapps.xmodule_django.models import CourseKeyField
from opaque_keys.edx.django.models import CourseKeyField
class Migration(migrations.Migration):

View File

@@ -7,8 +7,8 @@ from django.db import models
from django.db.models.signals import post_delete, post_save, pre_save
from django.dispatch import receiver
from model_utils.models import TimeStampedModel
from opaque_keys.edx.django.models import CourseKeyField
from openedx.core.djangoapps.xmodule_django.models import CourseKeyField
# Currently, the "student" app is responsible for
# accounts, profiles, enrollments, and the student dashboard.
# We are trying to move some of this functionality into separate apps,