Updates to manage.py
Tweaks to node_type comments validation code.
This commit is contained in:
@@ -697,6 +697,8 @@ def populate_node_types(old_ids={}):
|
|||||||
},
|
},
|
||||||
# Collection of ratings, keyed by user
|
# Collection of ratings, keyed by user
|
||||||
'ratings': {
|
'ratings': {
|
||||||
|
'type': 'list',
|
||||||
|
'schema': {
|
||||||
'type': 'dict',
|
'type': 'dict',
|
||||||
'schema': {
|
'schema': {
|
||||||
'user': {
|
'user': {
|
||||||
@@ -715,6 +717,7 @@ def populate_node_types(old_ids={}):
|
|||||||
'type': 'integer'
|
'type': 'integer'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
'confidence': {
|
'confidence': {
|
||||||
'type': 'float'
|
'type': 'float'
|
||||||
@@ -726,13 +729,7 @@ def populate_node_types(old_ids={}):
|
|||||||
'status': {},
|
'status': {},
|
||||||
'rating_positive': {},
|
'rating_positive': {},
|
||||||
'rating_negative': {},
|
'rating_negative': {},
|
||||||
'ratings': {
|
'ratings': {},
|
||||||
'schema': {
|
|
||||||
'user': {},
|
|
||||||
'is_positive': {},
|
|
||||||
'weight': {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
'confidence': {}
|
'confidence': {}
|
||||||
},
|
},
|
||||||
'parent': {
|
'parent': {
|
||||||
|
Reference in New Issue
Block a user