UPD: improved publish event mail.

This commit is contained in:
2018-05-28 16:42:42 +02:00
parent 12760f48cd
commit 1f8e276a8a
3 changed files with 20 additions and 4 deletions

View File

@@ -581,7 +581,7 @@ class TrainerForm(EventCreateForm):
self.fields['trainer_email'].initial = _(u'heinzel@alpenverein-karlsruhe.de')
def clean_trainer_phone(self):
return re.sub(r'[-.]', ' ', self.cleaned_data['trainer_phone'])
return re.sub(r'[-./]', ' ', self.cleaned_data['trainer_phone'])
def clean(self):
super(TrainerForm, self).clean()