Compare commits

...

2 Commits

Author SHA1 Message Date
Benni Bärmann 079c1c3933 just some additions to TODO 2021-01-05 14:31:46 +01:00
Benni Bärmann 8d8216fafb bugfix: username was not written to database 2021-01-04 16:19:26 +01:00
2 changed files with 10 additions and 1 deletions

9
TODO
View File

@ -3,3 +3,12 @@ known bugs:
- there is html-code in some plain text mails, because they use - there is html-code in some plain text mails, because they use
models.TYPE_CHOICES, which is in html, because it is mainly used for the models.TYPE_CHOICES, which is in html, because it is mainly used for the
website side of things. website side of things.
- helptext by /intern email: "Bitte gib deine E-Mail-Adresse ein, damit dich
Wikimedia Deutschland bei Rückfragen oder für
die Zusage kontaktieren kann." maybe this this misleading?
other known problems:
- The DatePicker works only if you are logged in, which is mostly ok for /intern
and there is no Date to insert at the moment in forms for externs.

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'):