Updates to manage.py

Tweaks to node_type comments validation code.
This commit is contained in:
2015-10-06 17:37:05 +02:00
parent a867aee026
commit 1bda2142cd

View File

@@ -697,6 +697,8 @@ def populate_node_types(old_ids={}):
},
# Collection of ratings, keyed by user
'ratings': {
'type': 'list',
'schema': {
'type': 'dict',
'schema': {
'user': {
@@ -715,6 +717,7 @@ def populate_node_types(old_ids={}):
'type': 'integer'
}
}
}
},
'confidence': {
'type': 'float'
@@ -726,13 +729,7 @@ def populate_node_types(old_ids={}):
'status': {},
'rating_positive': {},
'rating_negative': {},
'ratings': {
'schema': {
'user': {},
'is_positive': {},
'weight': {}
}
},
'ratings': {},
'confidence': {}
},
'parent': {