cleaner submit routine for find
This commit is contained in:
parent
d39d66c112
commit
663eac45cf
3 changed files with 32 additions and 49 deletions
|
|
@ -61,9 +61,11 @@ class UserProfile(models.Model):
|
|||
pos.position = qs.aggregate(Max('position'))['position__max'] + 1
|
||||
pos.save()
|
||||
id = l.get_id()
|
||||
'''
|
||||
if id not in ui['lists']:
|
||||
ui['lists'][id] = {}
|
||||
ui['lists'][id].update(ui['lists'][''])
|
||||
'''
|
||||
ids.append(id)
|
||||
return ids
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue