diff --git a/settings/forms.py b/settings/forms.py index 1fc815e..aec463b 100644 --- a/settings/forms.py +++ b/settings/forms.py @@ -15,5 +15,5 @@ class SelectUserForm(forms.Form): def populate(self): admins,_ = Group.objects.get_or_create(name='admins') - choices = [(u.pk, u.first_name + ' ' + u.last_name + '(' + u.username + ')') for u in User.objects.all()] + choices = [(u.pk, u.first_name + ' ' + u.last_name + ' (' + u.username + ')') for u in User.objects.all()] self.fields['pk'].choices = choices diff --git a/settings/templates/settings/settings.html b/settings/templates/settings/settings.html index 06e86d0..9f99ea0 100644 --- a/settings/templates/settings/settings.html +++ b/settings/templates/settings/settings.html @@ -80,9 +80,11 @@