mirror of
https://github.com/jazzband/django-dbtemplates.git
synced 2026-03-16 22:20:28 +00:00
ModelForm now requires either fields or exclude
This commit is contained in:
parent
1372f43992
commit
2d1a2497cf
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ class TemplateAdminForm(forms.ModelForm):
|
|||
|
||||
class Meta:
|
||||
model = Template
|
||||
|
||||
fields = "__all__"
|
||||
|
||||
class TemplateAdmin(TemplateModelAdmin):
|
||||
form = TemplateAdminForm
|
||||
|
|
|
|||
Loading…
Reference in a new issue