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':
|
if key == 'query':
|
||||||
for c in list.query['conditions']:
|
for c in list.query['conditions']:
|
||||||
if c['key'] == 'user':
|
if c['key'] == 'user':
|
||||||
c['value'] = c['value'].format(user=user.username)
|
c['value'] = c['value'].format(username=user.username)
|
||||||
list.save()
|
list.save()
|
||||||
pos = models.Position(list=list, section='personal', user=user)
|
pos = models.Position(list=list, section='personal', user=user)
|
||||||
qs = models.Position.objects.filter(user=user, section='personal')
|
qs = models.Position.objects.filter(user=user, section='personal')
|
||||||
|
|
Loading…
Reference in a new issue