mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 15:19:15 +02:00
See #890: added moderation note model, serializers and views
This commit is contained in:
parent
80c8610632
commit
ab3bc96783
13 changed files with 193 additions and 9 deletions
|
@ -30,7 +30,6 @@ class InstancePolicyAdmin(admin.ModelAdmin):
|
|||
list_select_related = True
|
||||
|
||||
|
||||
|
||||
@admin.register(models.Report)
|
||||
class ReportAdmin(admin.ModelAdmin):
|
||||
list_display = [
|
||||
|
@ -42,13 +41,8 @@ class ReportAdmin(admin.ModelAdmin):
|
|||
"creation_date",
|
||||
"handled_date",
|
||||
]
|
||||
list_filter = [
|
||||
"type",
|
||||
"is_handled",
|
||||
]
|
||||
search_fields = [
|
||||
"summary",
|
||||
]
|
||||
list_filter = ["type", "is_handled"]
|
||||
search_fields = ["summary"]
|
||||
list_select_related = True
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue