X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/97c8c6d7c7961976172bece182832d01c9c0fc4b..e5d57128eefe920b64600c33587de0ef1a51d97d:/src/club/forms.py?ds=sidebyside diff --git a/src/club/forms.py b/src/club/forms.py index 8df778338..2ebe4e58d 100644 --- a/src/club/forms.py +++ b/src/club/forms.py @@ -3,11 +3,12 @@ # from decimal import Decimal from django import forms +from newsletter.forms import NewsletterForm from . import models from .payu.forms import CardTokenForm -class ScheduleForm(forms.ModelForm): +class ScheduleForm(NewsletterForm, forms.ModelForm): class Meta: model = models.Schedule fields = ['monthly', 'amount', 'email']