More detailed request types in member

This commit is contained in:
Robert Kolner committed 2013-02-22 14:19:38 +01:00
1 parent ed0897a9ec
commit 71c5140743
1 file changed
+2 -2
+2 -2
View File
@@ -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 = {