fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
display fix
[redakcja.git]
/
apps
/
catalogue
/
forms.py
diff --git
a/apps/catalogue/forms.py
b/apps/catalogue/forms.py
index
6a56e76
..
f6b2dc9
100644
(file)
--- a/
apps/catalogue/forms.py
+++ b/
apps/catalogue/forms.py
@@
-44,6
+44,8
@@
class DocumentsUploadForm(forms.Form):
Form used for uploading new documents.
"""
file = forms.FileField(required=True, label=_('ZIP file'))
Form used for uploading new documents.
"""
file = forms.FileField(required=True, label=_('ZIP file'))
+ dirs = forms.BooleanField(label=_('Directories are documents in chunks'),
+ widget = forms.CheckboxInput(attrs={'disabled':'disabled'}))
def clean(self):
file = self.cleaned_data['file']
def clean(self):
file = self.cleaned_data['file']