From 21f01fb0c434e570c9fdf1e55f10cf361088457f Mon Sep 17 00:00:00 2001 From: jeremygan2021 Date: Wed, 25 Feb 2026 00:28:31 +0800 Subject: [PATCH] new --- backend/shop/admin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/shop/admin.py b/backend/shop/admin.py index 41578b7..6aef97e 100644 --- a/backend/shop/admin.py +++ b/backend/shop/admin.py @@ -232,8 +232,7 @@ class ServiceOrderAdmin(ModelAdmin): @admin.register(VCCourse) class VCCourseAdmin(OrderableAdminMixin, ModelAdmin): - list_display = ('title', 'course_type', 'price', 'tag', 'instructor', 'lesson_count', 'duration', 'created_at', 'order', 'order_actions') - list_editable = ('order',) + list_display = ('title', 'course_type', 'price', 'tag', 'instructor', 'lesson_count', 'duration', 'created_at', 'order_actions') search_fields = ('title', 'description', 'instructor', 'tag') list_filter = ('course_type', 'instructor', 'tag') fieldsets = (