8 lines
155 B
Python
8 lines
155 B
Python
|
from django import forms
|
||
|
from pads.models import Pad
|
||
|
|
||
|
class PadForm(forms.ModelForm):
|
||
|
class Meta:
|
||
|
model = Pad
|
||
|
fields = ('nom', 'url',)
|