add the downoad_count to form exclude

pull/1/head
eric 2013-06-03 16:23:21 -04:00
parent 65d88d68b5
commit dd72b0d997
1 changed files with 1 additions and 1 deletions

View File

@ -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,