clips next to map

This commit is contained in:
j 2011-06-20 17:02:53 +02:00
commit 8831c3d8dd
4 changed files with 94 additions and 4 deletions

View file

@ -20,6 +20,7 @@ def parseCondition(condition, user):
k = condition.get('key', 'name')
k = {
'user': 'user__username',
'place': 'places__id',
}.get(k, k)
if not k:
k = 'name'