Archived
More detailed request types in member
This commit is contained in:
1 parent
ed0897a9ec
commit
71c5140743
1 file changed
+2
-2
@@ -20,8 +20,8 @@ class MemberResource(ModelResource):
|
||||
class Meta:
|
||||
queryset = Member.objects.all()
|
||||
resource_name = 'member'
|
||||
list_allowed_methods = [ 'get', 'post', 'patch' ]
|
||||
detail_allowed_methods = [ 'get', 'post', 'patch' ]
|
||||
list_allowed_methods = [ 'get', 'post' ]
|
||||
detail_allowed_methods = [ 'get', 'patch' ]
|
||||
authorization = Authorization() # TODO: for dev (VERY INSECURE)
|
||||
excludes = [ 'password' ]
|
||||
filtering = {
|
||||
|
||||
Reference in new issue
Block a user