Permalink
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (6 sloc) 181 Bytes
from django.forms import ModelForm
from flatblocks.models import FlatBlock
class FlatBlockForm(ModelForm):
class Meta:
model = FlatBlock
exclude = ('slug', )