FIX f016f4af41 (python2 encoding error)
All checks were successful
buildbot/tox Build done.
All checks were successful
buildbot/tox Build done.
This commit is contained in:
@@ -11,13 +11,13 @@ logger = logging.getLogger(__name__)
|
|||||||
|
|
||||||
class RegistrationForm(forms.ModelForm):
|
class RegistrationForm(forms.ModelForm):
|
||||||
not_dav_member = forms.BooleanField(required=False,
|
not_dav_member = forms.BooleanField(required=False,
|
||||||
label=_('Ich bin noch kein DAV Mitglied.'),
|
label=_(u'Ich bin noch kein DAV Mitglied.'),
|
||||||
help_text='%s<br />\n%s' % (
|
help_text=u'%s<br />\n%s' % (
|
||||||
_('Wenn du noch kein DAV Mitglied bist,'
|
_(u'Wenn du noch kein DAV Mitglied bist,'
|
||||||
' oder deine Aufnahme noch in Arbeit ist,'
|
u' oder deine Aufnahme noch in Arbeit ist,'
|
||||||
' kreuze dieses Feld hier an.'),
|
u' kreuze dieses Feld hier an.'),
|
||||||
_('Spätestens zu Veranstaltungsbeginn muss'
|
_(u'Spätestens zu Veranstaltungsbeginn muss'
|
||||||
' jedoch eine Mitgliedschaft bestehen.')
|
u' jedoch eine Mitgliedschaft bestehen.')
|
||||||
))
|
))
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
@@ -30,7 +30,7 @@ class RegistrationForm(forms.ModelForm):
|
|||||||
'note': forms.Textarea(attrs={'rows': 5}),
|
'note': forms.Textarea(attrs={'rows': 5}),
|
||||||
}
|
}
|
||||||
labels = {
|
labels = {
|
||||||
'apply_reduced_fee': _('Ich bin noch keine 25 Jahre alt oder besitze einen "Karlsruher Pass".'),
|
'apply_reduced_fee': _(u'Ich bin noch keine 25 Jahre alt oder besitze einen "Karlsruher Pass".'),
|
||||||
}
|
}
|
||||||
|
|
||||||
def clean_year_of_birth(self):
|
def clean_year_of_birth(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user