From 41aaaab584c016a924e4d830659633847780e0bb Mon Sep 17 00:00:00 2001 From: John Eskew Date: Wed, 18 Oct 2017 09:15:37 -0400 Subject: [PATCH] Fixes to mgmt cmds which delete django-simple-history data. --- .../management/commands/delete_historical_microsite_data.py | 2 +- .../commands/delete_historical_verify_student_data.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/djangoapps/microsite_configuration/management/commands/delete_historical_microsite_data.py b/common/djangoapps/microsite_configuration/management/commands/delete_historical_microsite_data.py index be77600ff3..9e3a8f8d47 100644 --- a/common/djangoapps/microsite_configuration/management/commands/delete_historical_microsite_data.py +++ b/common/djangoapps/microsite_configuration/management/commands/delete_historical_microsite_data.py @@ -5,7 +5,7 @@ microsite_configuration_historicalmicrositetemplate """ import logging -from common.djangoapps.microsite_configuration.models import MicrositeOrganizationMapping, MicrositeTemplate +from microsite_configuration.models import MicrositeOrganizationMapping, MicrositeTemplate from openedx.core.djangoapps.util.row_delete import delete_rows, BaseDeletionCommand log = logging.getLogger(__name__) diff --git a/lms/djangoapps/verify_student/management/commands/delete_historical_verify_student_data.py b/lms/djangoapps/verify_student/management/commands/delete_historical_verify_student_data.py index 68e85fe919..4681239771 100644 --- a/lms/djangoapps/verify_student/management/commands/delete_historical_verify_student_data.py +++ b/lms/djangoapps/verify_student/management/commands/delete_historical_verify_student_data.py @@ -3,7 +3,7 @@ Command to delete all rows from the verify_student_historicalverificationdeadlin """ import logging -from verify_student.models import VerificationDeadline +from lms.djangoapps.verify_student.models import VerificationDeadline from openedx.core.djangoapps.util.row_delete import delete_rows, BaseDeletionCommand log = logging.getLogger(__name__)