fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename publishable to approved, add profile option to approve by default.
[redakcja.git]
/
src
/
cover
/
forms.py
diff --git
a/src/cover/forms.py
b/src/cover/forms.py
index
7a85594
..
aad80c4
100644
(file)
--- a/
src/cover/forms.py
+++ b/
src/cover/forms.py
@@
-77,7
+77,7
@@
class ImageEditForm(forms.ModelForm):
"""Form used for editing a Book."""
class Meta:
model = Image
"""Form used for editing a Book."""
class Meta:
model = Image
- exclude = ['download_url']
+ exclude = ['download_url'
, 'use_file', 'example',
]
def clean(self):
cleaned_data = super(ImageEditForm, self).clean()
def clean(self):
cleaned_data = super(ImageEditForm, self).clean()