ernestophone.ens.fr/pads/forms.py

8 lines
155 B
Python
Raw Normal View History

from django import forms
from pads.models import Pad
class PadForm(forms.ModelForm):
class Meta:
model = Pad
fields = ('nom', 'url',)