mirror of
https://github.com/fergalmoran/dss.git
synced 2026-01-06 00:44:16 +00:00
Pre-branch
This commit is contained in:
@@ -105,6 +105,7 @@ class UserResource(BackboneCompatibleResource):
|
||||
queryset = User.objects.all()
|
||||
resource_name = 'user'
|
||||
excludes = ['is_active', 'is_staff', 'is_superuser', 'password']
|
||||
ordering = ['mix_count']
|
||||
authorization = DjangoAuthorization()
|
||||
authentication = Authentication()
|
||||
favourites = fields.ToManyField(MixResource, 'favourites')
|
||||
|
||||
Reference in New Issue
Block a user