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

@@ -3,7 +3,7 @@ from __future__ import unicode_literals
from django.db import migrations, models
from django.conf import settings
from openedx.core.djangoapps.xmodule_django.models import CourseKeyField
from opaque_keys.edx.django.models import CourseKeyField
class Migration(migrations.Migration):

View File

@@ -24,9 +24,9 @@ from django.conf import settings
from django.contrib.auth.models import User
from django.core.files.base import ContentFile
from django.db import models, transaction
from opaque_keys.edx.django.models import CourseKeyField
from six import text_type
from openedx.core.djangoapps.xmodule_django.models import CourseKeyField
from openedx.core.storage import get_storage
logger = logging.getLogger(__name__)