Fixes to mgmt cmds which delete django-simple-history data.
This commit is contained in:
@@ -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__)
|
||||
|
||||
|
||||
@@ -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__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user