fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add banner style.
[wolnelektury.git]
/
src
/
catalogue
/
forms.py
diff --git
a/src/catalogue/forms.py
b/src/catalogue/forms.py
index
055800e
..
919ff3a
100644
(file)
--- a/
src/catalogue/forms.py
+++ b/
src/catalogue/forms.py
@@
-19,6
+19,7
@@
class BookImportForm(forms.Form):
hidden = forms.BooleanField(required=False)
logo = forms.CharField(required=False)
logo_mono = forms.CharField(required=False)
hidden = forms.BooleanField(required=False)
logo = forms.CharField(required=False)
logo_mono = forms.CharField(required=False)
+ logo_alt = forms.CharField(required=False)
def clean(self):
from django.core.files.base import ContentFile
def clean(self):
from django.core.files.base import ContentFile
@@
-38,6
+39,7
@@
class BookImportForm(forms.Form):
findable=not self.cleaned_data['hidden'],
logo=self.cleaned_data['logo'],
logo_mono=self.cleaned_data['logo_mono'],
findable=not self.cleaned_data['hidden'],
logo=self.cleaned_data['logo'],
logo_mono=self.cleaned_data['logo_mono'],
+ logo_alt=self.cleaned_data['logo_alt'],
**kwargs)
**kwargs)