mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 03:49:16 +02:00
Admin UI to list and manage remote and local accounts
This commit is contained in:
parent
b1194e50de
commit
e186c6bb06
18 changed files with 797 additions and 283 deletions
|
@ -138,10 +138,9 @@ class ManageActorViewSet(
|
|||
lookup_value_regex = r"([a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+)"
|
||||
queryset = (
|
||||
federation_models.Actor.objects.all()
|
||||
.with_outbox_activities_count()
|
||||
.with_followers_count()
|
||||
.with_uploads_count()
|
||||
.order_by("-creation_date")
|
||||
.select_related("user")
|
||||
)
|
||||
serializer_class = serializers.ManageActorSerializer
|
||||
filter_class = filters.ManageActorFilterSet
|
||||
|
@ -155,7 +154,6 @@ class ManageActorViewSet(
|
|||
"creation_date",
|
||||
"last_fetch_date",
|
||||
"uploads_count",
|
||||
"followers_count",
|
||||
"outbox_activities_count",
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue