mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 10:59:17 +02:00
Logic to refetch remote entities
This commit is contained in:
parent
63b1007596
commit
cdc617be27
23 changed files with 632 additions and 9 deletions
|
@ -30,6 +30,14 @@ class DomainAdmin(admin.ModelAdmin):
|
|||
search_fields = ["name"]
|
||||
|
||||
|
||||
@admin.register(models.Fetch)
|
||||
class FetchAdmin(admin.ModelAdmin):
|
||||
list_display = ["url", "actor", "status", "creation_date", "fetch_date", "detail"]
|
||||
search_fields = ["url", "actor__username"]
|
||||
list_filter = ["status"]
|
||||
list_select_related = True
|
||||
|
||||
|
||||
@admin.register(models.Activity)
|
||||
class ActivityAdmin(admin.ModelAdmin):
|
||||
list_display = ["type", "fid", "url", "actor", "creation_date"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue