Remove unnecessary form_schema fields.
This commit is contained in:
@@ -54,7 +54,7 @@ EXAMPLE_PROJECT = {
|
||||
u'status': {u'allowed': [u'published', u'pending'],
|
||||
u'type': u'string'},
|
||||
u'url': {u'type': u'string'}},
|
||||
u'form_schema': {u'order': {}, u'status': {}, u'url': {}},
|
||||
u'form_schema': {},
|
||||
u'name': u'group_texture',
|
||||
u'parent': [u'group_texture', u'project']},
|
||||
{u'description': u'Generic group node type edited',
|
||||
@@ -63,7 +63,7 @@ EXAMPLE_PROJECT = {
|
||||
u'status': {u'allowed': [u'published', u'pending'],
|
||||
u'type': u'string'},
|
||||
u'url': {u'type': u'string'}},
|
||||
u'form_schema': {u'notes': {}, u'order': {}, u'status': {}, u'url': {}},
|
||||
u'form_schema': {},
|
||||
u'name': u'group',
|
||||
u'parent': [u'group', u'project']},
|
||||
{u'description': u'Basic Asset Type',
|
||||
@@ -98,12 +98,8 @@ EXAMPLE_PROJECT = {
|
||||
u'type': u'string'},
|
||||
u'tags': {u'schema': {u'type': u'string'}, u'type': u'list'}},
|
||||
u'form_schema': {u'attachments': {u'visible': False},
|
||||
u'categories': {},
|
||||
u'content_type': {u'visible': False},
|
||||
u'file': {u'visible': False},
|
||||
u'order': {},
|
||||
u'status': {},
|
||||
u'tags': {}},
|
||||
u'file': {u'visible': False}},
|
||||
u'name': u'asset',
|
||||
u'parent': [u'group']},
|
||||
{u'description': u'Entrypoint to a remote or local storage solution',
|
||||
@@ -134,20 +130,14 @@ EXAMPLE_PROJECT = {
|
||||
u'type': u'list'},
|
||||
u'status': {u'allowed': [u'published', u'flagged', u'edited'],
|
||||
u'type': u'string'}},
|
||||
u'form_schema': {u'confidence': {},
|
||||
u'content': {},
|
||||
u'is_reply': {},
|
||||
u'rating_negative': {},
|
||||
u'rating_positive': {},
|
||||
u'ratings': {},
|
||||
u'status': {}},
|
||||
u'form_schema': {},
|
||||
u'name': u'comment',
|
||||
u'parent': [u'asset', u'comment']},
|
||||
{u'description': u'Container for node_type post.',
|
||||
u'dyn_schema': {u'categories': {u'schema': {u'type': u'string'},
|
||||
u'type': u'list'},
|
||||
u'template': {u'type': u'string'}},
|
||||
u'form_schema': {u'categories': {}, u'template': {}},
|
||||
u'form_schema': {},
|
||||
u'name': u'blog',
|
||||
u'parent': [u'project']},
|
||||
{u'description': u'A blog post, for any project',
|
||||
@@ -178,11 +168,7 @@ EXAMPLE_PROJECT = {
|
||||
u'default': u'pending',
|
||||
u'type': u'string'},
|
||||
u'url': {u'type': u'string'}},
|
||||
u'form_schema': {u'attachments': {u'visible': False},
|
||||
u'category': {},
|
||||
u'content': {},
|
||||
u'status': {},
|
||||
u'url': {}},
|
||||
u'form_schema': {u'attachments': {u'visible': False}},
|
||||
u'name': u'post',
|
||||
u'parent': [u'blog']},
|
||||
{u'description': u'Image Texture',
|
||||
@@ -213,16 +199,8 @@ EXAMPLE_PROJECT = {
|
||||
u'processing'],
|
||||
u'type': u'string'},
|
||||
u'tags': {u'schema': {u'type': u'string'}, u'type': u'list'}},
|
||||
u'form_schema': {u'aspect_ratio': {},
|
||||
u'categories': {},
|
||||
u'content_type': {u'visible': False},
|
||||
u'files': {u'visible': False},
|
||||
u'is_landscape': {},
|
||||
u'is_tileable': {},
|
||||
u'order': {},
|
||||
u'resolution': {},
|
||||
u'status': {},
|
||||
u'tags': {}},
|
||||
u'form_schema': {u'content_type': {u'visible': False},
|
||||
u'files': {u'visible': False}},
|
||||
u'name': u'texture',
|
||||
u'parent': [u'group']}],
|
||||
u'nodes_blog': [],
|
||||
|
Reference in New Issue
Block a user