This commit is contained in:
nikolark committed 2015-08-24 22:04:11 +02:00
1 parent 8d2e0ea396
commit cf560a8d3d
1 file changed
+1 -1
+1 -1
View File
@@ -33,7 +33,7 @@ class Command(BaseCommand):
names = [] # to fuzzy search for a name
name_lookup = {} # to update the matching UserProfile object
for u in User.objects.all().order_by('id'):
fullname = '{} {}'.format(u.first_name, u.last_name)
fullname = u'{} {}'.format(u.first_name, u.last_name)
names.append(fullname)
name_lookup[fullname] = u.id