forms.py 222 Bytes
Newer Older
1
from django import forms
fred's avatar
fred committed
2
from .models import Subscriber
3

fred's avatar
fred committed
4 5 6 7
class SubscribeForm(forms.ModelForm):
    class Meta:
        model = Subscriber
        exclude = ('inscription_date', 'is_validated', 'is_registered', 'password')