Registrations: view to uncheck apply_reduced_fee while accepting
Some checks failed
buildbot/tox Build done.
Some checks failed
buildbot/tox Build done.
This commit is contained in:
@@ -164,6 +164,13 @@ Anmerkung:
|
||||
note=self.note,
|
||||
)
|
||||
|
||||
def get_data_dict(self):
|
||||
data = {}
|
||||
for field in self._meta.fields:
|
||||
if not field.primary_key:
|
||||
data[field.name] = getattr(self, field.name)
|
||||
return data
|
||||
|
||||
def clean(self):
|
||||
if self.dav_member and not self.dav_number:
|
||||
raise ValidationError({'dav_number': _('Wenn du DAV Mitglied bist, brauchen wir deine Mitgliedsnummer.')})
|
||||
|
||||
Reference in New Issue
Block a user