add javascript file

master
bettleChen 1 year ago
parent 08b97276a5
commit b0f0292c62

@ -20,6 +20,7 @@ class CourseAdmin(admin.ModelAdmin):
'''按发布日期排序''' '''按发布日期排序'''
ordering = ('-credit',) ordering = ('-credit',)
search_fields = ('name', 'type', 'credit', "tid")
class ScAdmin(admin.ModelAdmin): class ScAdmin(admin.ModelAdmin):
list_display = ('student_name', 'course_name', 'middle_grade', 'end_grade') list_display = ('student_name', 'course_name', 'middle_grade', 'end_grade')

Loading…
Cancel
Save