petition-sonnette/petition/forms.py

12 lines
210 B
Python
Raw Normal View History

2018-02-05 22:16:32 +01:00
from django.forms import ModelForm
from .models import Signature
class SignatureForm(ModelForm):
class Meta:
model = Signature
fields = [
'name',
'mail',
]