unicode, key_type
This commit is contained in:
parent
7b54205574
commit
7745ec5c7f
2 changed files with 7 additions and 7 deletions
|
|
@ -34,8 +34,8 @@ def parseCondition(condition):
|
|||
else:
|
||||
exclude = False
|
||||
|
||||
key_type = models.site_config['keys'].get(k, 'string')
|
||||
return {
|
||||
key_type = models.site_config['keys'].get(k, {'type':'string'}).get('type')
|
||||
key_type = {
|
||||
'title': 'string',
|
||||
'person': 'string'
|
||||
}.get(key_type, key_type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue