Changing over imports to opaque_keys.edx
This commit is contained in:
@@ -1,18 +1,14 @@
|
|||||||
"""Django management command to force certificate regeneration for one user"""
|
"""Django management command to force certificate regeneration for one user"""
|
||||||
|
|
||||||
from optparse import make_option
|
from optparse import make_option
|
||||||
|
|
||||||
from django.contrib.auth.models import User
|
from django.contrib.auth.models import User
|
||||||
from django.core.management.base import BaseCommand, CommandError
|
from django.core.management.base import BaseCommand, CommandError
|
||||||
|
|
||||||
from opaque_keys import InvalidKeyError
|
from opaque_keys import InvalidKeyError
|
||||||
from xmodule.modulestore.keys import CourseKey
|
from opaque_keys.edx.keys import CourseKey
|
||||||
from xmodule.modulestore.locations import SlashSeparatedCourseKey
|
from opaque_keys.edx.locations import SlashSeparatedCourseKey
|
||||||
from xmodule.course_module import CourseDescriptor
|
|
||||||
|
|
||||||
from certificates.queue import XQueueCertInterface
|
|
||||||
from xmodule.course_module import CourseDescriptor
|
from xmodule.course_module import CourseDescriptor
|
||||||
from xmodule.modulestore.django import modulestore
|
from xmodule.modulestore.django import modulestore
|
||||||
|
from certificates.queue import XQueueCertInterface
|
||||||
|
|
||||||
|
|
||||||
class Command(BaseCommand):
|
class Command(BaseCommand):
|
||||||
|
|||||||
Reference in New Issue
Block a user