add the downoad_count to form exclude
parent
65d88d68b5
commit
dd72b0d997
|
@ -105,7 +105,7 @@ class EditionForm(forms.ModelForm):
|
|||
class EbookForm(forms.ModelForm):
|
||||
class Meta:
|
||||
model = Ebook
|
||||
exclude =( 'created',)
|
||||
exclude =( 'created','download_count',)
|
||||
widgets = {
|
||||
'edition': forms.HiddenInput,
|
||||
'user': forms.HiddenInput,
|
||||
|
|
Loading…
Reference in New Issue