feedback.admin module
-
class feedback.admin.FeedbackAdmin(model, admin_site)[源代码]
基类:ModelAdmin
-
list_display = ['type', 'title', 'person', 'org', 'feedback_time']
-
property media
-
search_fields = ('person__name', 'org__oname')
-
class feedback.admin.FeedbackTypeAdmin(model, admin_site)[源代码]
基类:ModelAdmin
-
list_display = ['name', 'org_type', 'org']
-
property media
-
search_fields = ('name', 'org_type__otype_name', 'org__oname')