修改了字段,可以加阅读笔记
This commit is contained in:
@@ -45,9 +45,9 @@ class PlanTypeAdmin(admin.ModelAdmin):
|
||||
|
||||
@admin.register(ReadingRecord)
|
||||
class ReadingRecordAdmin(admin.ModelAdmin):
|
||||
list_display = ('title', 'type', 'date', 'source', 'created_at')
|
||||
list_display = ('title', 'type', 'date', 'source', 'note', 'created_at')
|
||||
list_filter = ('type', 'date')
|
||||
search_fields = ('title', 'source', 'content')
|
||||
search_fields = ('title', 'source', 'note')
|
||||
|
||||
|
||||
@admin.register(InsightRecord)
|
||||
|
||||
Reference in New Issue
Block a user