mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 10:39:17 +02:00
Model / settings for allow-listing
This commit is contained in:
parent
1a52dfcc1d
commit
2b2b64f0a7
8 changed files with 90 additions and 1 deletions
|
@ -26,7 +26,8 @@ redeliver_activities.short_description = "Redeliver"
|
|||
|
||||
@admin.register(models.Domain)
|
||||
class DomainAdmin(admin.ModelAdmin):
|
||||
list_display = ["name", "creation_date"]
|
||||
list_display = ["name", "allowed", "creation_date"]
|
||||
list_filter = ["allowed"]
|
||||
search_fields = ["name"]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue