let ebook go to default

pull/1/head
eric 2014-09-26 10:40:20 -04:00
parent 2223446f36
commit 5a6582ae66
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ class EbookFileForm(forms.ModelForm):
class EbookForm(forms.ModelForm):
class Meta:
model = Ebook
exclude =( 'created','download_count',)
exclude =( 'created', 'download_count', 'active')
widgets = {
'edition': forms.HiddenInput,
'user': forms.HiddenInput,