place name
This commit is contained in:
parent
8831c3d8dd
commit
b5a08a11f5
2 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ def parseCondition(condition, user):
|
|||
k = condition.get('key', 'name')
|
||||
k = {
|
||||
'user': 'user__username',
|
||||
'place': 'places__id',
|
||||
'place': 'places__name',
|
||||
}.get(k, k)
|
||||
if not k:
|
||||
k = 'name'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue