ernestophone.ens.fr/pads/forms.py

9 lines
156 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',)