From 183c550078406227e37f96dccbadcf0b742487bb Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 2 Sep 2014 14:14:29 +0200 Subject: [PATCH] use {username} not {user} #1879 --- pandora/user/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/user/views.py b/pandora/user/views.py index 3768cca6..10b10bc1 100644 --- a/pandora/user/views.py +++ b/pandora/user/views.py @@ -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')