@ -13,11 +13,12 @@ EMAIL_STATES = {'NONE': 'noch keine Mail versendet',
class Volunteer ( models . Model ) :
class Volunteer ( models . Model ) :
realname = models . CharField ( max_length = 200 , null = True , verbose_name = " Realname " ,
realname = models . CharField ( max_length = 200 , null = True , verbose_name = " Realname " ,
help_text = " Bitte gib deinen Vornamen und deinen Nachnamen ein. " )
help_text = " Bitte gib deinen Vornamen und deinen Nachnamen ein. " , default = ' oi ' )
email = models . EmailField ( max_length = 200 , null = True , verbose_name = ' E-Mail-Adresse ' ,
email = models . EmailField ( max_length = 200 , null = True , verbose_name = ' E-Mail-Adresse ' ,
help_text = format_html ( ' Bitte gib deine E-Mail-Adresse ein, damit dich<br>Wikimedia Deutschland bei Rückfragen oder für<br>die Zusage kontaktieren kann. ' ) )
help_text = format_html ( ' Bitte gib deine E-Mail-Adresse ein, damit dich<br>Wikimedia Deutschland bei Rückfragen oder für<br>die Zusage kontaktieren kann. ' ) )
# the following Fields are not supposed to be edited by users
# the following Fields are not supposed to be edited by users
granted = models . BooleanField ( null = True , verbose_name = ' bewilligt ' )
granted = models . BooleanField ( null = True , verbose_name = ' bewilligt ' )
granted_date = models . DateField ( null = True , verbose_name = ' bewilligt am ' )
granted_date = models . DateField ( null = True , verbose_name = ' bewilligt am ' )
survey_mail_date = models . DateField ( verbose_name = ' Umfragemail wurde verschickt am ' , null = True , blank = True )
survey_mail_date = models . DateField ( verbose_name = ' Umfragemail wurde verschickt am ' , null = True , blank = True )
@ -36,10 +37,12 @@ class Volunteer(models.Model):
abstract = True
abstract = True
class Extern ( Volunteer ) :
class Extern ( Volunteer ) :
''' abstract basis class for all data entered by extern volunteers '''
''' abstract basis class for all data entered by extern volunteers '''
username = models . CharField ( max_length = 200 , null = True , verbose_name = ' Benutzer_innenname ' ,
username = models . CharField ( max_length = 200 , null = True , verbose_name = ' Benutzer_innenname ' ,
help_text = format_html ( " Bitte gib den Namen ein, mit dem du dich<br>in den Wikimedia-Projekten registriert hast. " ) )
help_text = format_html ( " Wikimedia Benutzer_innenname " ) )
# the following Fields are not supposed to be edited by users
# the following Fields are not supposed to be edited by users
service_id = models . CharField ( max_length = 15 , null = True , blank = True )
service_id = models . CharField ( max_length = 15 , null = True , blank = True )