forked from 0x2620/pandora
rename Item.itemId to Item.public_id
This commit is contained in:
parent
3ab0e4ba1e
commit
3232ce6989
44 changed files with 382 additions and 213 deletions
|
|
@ -11,7 +11,7 @@ def parseCondition(condition, user, item=None):
|
|||
k = condition.get('key', 'name')
|
||||
k = {
|
||||
'user': 'user__username',
|
||||
'item': 'items__itemId',
|
||||
'item': 'items__public_id',
|
||||
}.get(k, k)
|
||||
if not k:
|
||||
k = 'name'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue