Added File NodeType

This commit is contained in:
Eibriel
2015-04-16 12:35:07 -03:00
parent 4148f6977a
commit f270526cc6
2 changed files with 60 additions and 1 deletions

View File

@@ -8,6 +8,9 @@ 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', 'PATCH']
# EXTENDED_MEDIA_INFO = ['_id', 'content_type', 'name', 'length']
RETURN_MEDIA_AS_URL = True
RETURN_MEDIA_AS_BASE64_STRING = False
PAGINATION_LIMIT = 100
@@ -47,7 +50,7 @@ nodes_schema = {
'maxlength': 128,
},
'picture': {
'type': 'media'
'type': 'objectid'
},
'order': {
'type': 'integer',