diff --git a/cms/models.py b/cms/models.py index 523739f59..180e22898 100644 --- a/cms/models.py +++ b/cms/models.py @@ -1253,7 +1253,7 @@ def get_context(self, request, *args, **kwargs): } content_panels = [ # noqa: RUF005 - InlinePanel("course"), + FieldPanel("course"), FieldPanel("topics"), ] + ProductPage.content_panels diff --git a/courses/models.py b/courses/models.py index 5378dcf4f..108e2320c 100644 --- a/courses/models.py +++ b/courses/models.py @@ -528,7 +528,7 @@ class Course(TimestampedModel, ValidateOnSaveMixin): """Model for a course""" class Meta: - ordering = ["id"] + ordering = ["readable_id"] objects = CourseQuerySet.as_manager() title = models.CharField(max_length=255)