From 8fdec439ee96ca4919657f53251d46d8ceebbcd0 Mon Sep 17 00:00:00 2001 From: Han Su Kim Date: Fri, 13 Jun 2014 09:36:40 -0400 Subject: [PATCH] Changing over imports to opaque_keys.edx --- .../management/commands/regenerate_user.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/lms/djangoapps/certificates/management/commands/regenerate_user.py b/lms/djangoapps/certificates/management/commands/regenerate_user.py index adcb2ee7c0..150d050d11 100644 --- a/lms/djangoapps/certificates/management/commands/regenerate_user.py +++ b/lms/djangoapps/certificates/management/commands/regenerate_user.py @@ -1,18 +1,14 @@ """Django management command to force certificate regeneration for one user""" from optparse import make_option - from django.contrib.auth.models import User from django.core.management.base import BaseCommand, CommandError - from opaque_keys import InvalidKeyError -from xmodule.modulestore.keys import CourseKey -from xmodule.modulestore.locations import SlashSeparatedCourseKey -from xmodule.course_module import CourseDescriptor - -from certificates.queue import XQueueCertInterface +from opaque_keys.edx.keys import CourseKey +from opaque_keys.edx.locations import SlashSeparatedCourseKey from xmodule.course_module import CourseDescriptor from xmodule.modulestore.django import modulestore +from certificates.queue import XQueueCertInterface class Command(BaseCommand):