commit
a02463c117
|
@ -199,7 +199,7 @@ class EbookFileForm(forms.ModelForm):
|
||||||
class EbookForm(forms.ModelForm):
|
class EbookForm(forms.ModelForm):
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Ebook
|
model = Ebook
|
||||||
exclude =( 'created','download_count',)
|
exclude =( 'created', 'download_count', 'active')
|
||||||
widgets = {
|
widgets = {
|
||||||
'edition': forms.HiddenInput,
|
'edition': forms.HiddenInput,
|
||||||
'user': forms.HiddenInput,
|
'user': forms.HiddenInput,
|
||||||
|
|
Loading…
Reference in New Issue