Support for PATCH requests

This commit is contained in:
2015-04-15 16:21:38 +02:00
parent a1108f50a6
commit 65c9e85e93

View File

@@ -7,8 +7,12 @@ RESOURCE_METHODS = ['GET', 'POST', 'DELETE']
# Enable reads (GET), edits (PATCH), replacements (PUT) and deletes of
# individual items (defaults to read-only item access).
ITEM_METHODS = ['GET', 'PUT', 'DELETE']
ITEM_METHODS = ['GET', 'PUT', 'DELETE', 'PATCH']
MEDIA_ENDPOINT = 'test'
RETURN_MEDIA_AS_URL = True
RETURN_MEDIA_AS_BASE64_STRING = False
#EXTENDED_MEDIA_INFO = ['content_type', 'name', 'length']
users_schema = {
'firstname': {