ernestophone.ens.fr/pads/forms.py

13 lines
191 B
Python
Raw Permalink Normal View History

from django import forms
2021-04-29 00:27:33 +02:00
from pads.models import Pad
class PadForm(forms.ModelForm):
class Meta:
model = Pad
2021-04-29 00:27:33 +02:00
fields = (
"nom",
"url",
)