forked from 0x2620/pandora
use {username} not {user} #1879
This commit is contained in:
parent
bc3aa5364c
commit
183c550078
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ def signup(request):
|
|||
if key == 'query':
|
||||
for c in list.query['conditions']:
|
||||
if c['key'] == 'user':
|
||||
c['value'] = c['value'].format(user=user.username)
|
||||
c['value'] = c['value'].format(username=user.username)
|
||||
list.save()
|
||||
pos = models.Position(list=list, section='personal', user=user)
|
||||
qs = models.Position.objects.filter(user=user, section='personal')
|
||||
|
|
Loading…
Reference in a new issue