Browse Source

bugfix: username was not written to database

master
Benni Baermann 3 years ago
parent
commit
8d8216fafb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      input/views.py

+ 1
- 1
input/views.py View File

@ -204,7 +204,7 @@ class ExternView(CookieWizardView):
# we have to copy the data from the first form here # we have to copy the data from the first form here
# this is a bit ugly code. can we copy this without explicit writing? # this is a bit ugly code. can we copy this without explicit writing?
modell.realname = data['realname'] modell.realname = data['realname']
# form.username = data['username']
modell.username = data['username']
modell.email = data['email'] modell.email = data['email']
# write type of form in some cases # write type of form in some cases
if data['choice'] in ('BIB', 'ELIT', 'SOFT'): if data['choice'] in ('BIB', 'ELIT', 'SOFT'):

Loading…
Cancel
Save