from django.contrib import admin
from myapp.models import Note,CollectionNote,APPUser,Course

class CourseAdmin(admin.ModelAdmin):
    list_filter = ['cname','cid','uid']
    search_fields = ['cname','cid','uid']  # 添加快速查询栏

admin.site.register(Note)
admin.site.register(CollectionNote)
admin.site.register(APPUser)
admin.site.register(Course, CourseAdmin)
c67c81b672cc808e856054d3d650755dfec13ca4
<mask token>


class CourseAdmin(admin.ModelAdmin):
    <mask token>
    <mask token>


<mask token>

<mask token>


class CourseAdmin(admin.ModelAdmin):
    list_filter = ['cname', 'cid', 'uid']
    search_fields = ['cname', 'cid', 'uid']


<mask token>

<mask token>


class CourseAdmin(admin.ModelAdmin):
    list_filter = ['cname', 'cid', 'uid']
    search_fields = ['cname', 'cid', 'uid']


admin.site.register(Note)
admin.site.register(CollectionNote)
admin.site.register(APPUser)
admin.site.register(Course, CourseAdmin)

from django.contrib import admin
from myapp.models import Note, CollectionNote, APPUser, Course


class CourseAdmin(admin.ModelAdmin):
    list_filter = ['cname', 'cid', 'uid']
    search_fields = ['cname', 'cid', 'uid']


admin.site.register(Note)
admin.site.register(CollectionNote)
admin.site.register(APPUser)
admin.site.register(Course, CourseAdmin)

from django.contrib import admin
from myapp.models import Note,CollectionNote,APPUser,Course

class CourseAdmin(admin.ModelAdmin):
    list_filter = ['cname','cid','uid']
    search_fields = ['cname','cid','uid']  # 添加快速查询栏

admin.site.register(Note)
admin.site.register(CollectionNote)
admin.site.register(APPUser)
admin.site.register(Course, CourseAdmin)