diff --git a/course_discovery/apps/tagging/admin.py b/course_discovery/apps/tagging/admin.py index ca7f42f57b..6fb7408f44 100644 --- a/course_discovery/apps/tagging/admin.py +++ b/course_discovery/apps/tagging/admin.py @@ -1,6 +1,6 @@ from django.contrib import admin -from course_discovery.apps.tagging.models import VerticalFilter, SubVerticalFilter, CourseVerticalFilter +from course_discovery.apps.tagging.models import CourseVerticalFilter, SubVerticalFilter, VerticalFilter @admin.register(VerticalFilter) diff --git a/course_discovery/apps/tagging/models.py b/course_discovery/apps/tagging/models.py index 937db7031e..a30ce4c204 100644 --- a/course_discovery/apps/tagging/models.py +++ b/course_discovery/apps/tagging/models.py @@ -1,10 +1,11 @@ from django.db import models from django_extensions.db.fields import AutoSlugField -from simple_history.models import HistoricalRecords from model_utils.models import TimeStampedModel +from simple_history.models import HistoricalRecords from course_discovery.apps.course_metadata.models import Course, ManageHistoryMixin + class VerticalFilter(ManageHistoryMixin, TimeStampedModel): """ Model for defining vertical filters used to categorize product types under specific verticals.