|
@@ -12,7 +12,7 @@ class PanoramaUploadForm(ModelForm):
|
|
"""Custom form, providing a MultiFileField widget that allows to add
|
|
"""Custom form, providing a MultiFileField widget that allows to add
|
|
multiple photos at the same time.
|
|
multiple photos at the same time.
|
|
"""
|
|
"""
|
|
- photos = MultiFileField(min_num=1, max_num=25, max_file_size=1024*1024*100)
|
|
|
|
|
|
+ photos = MultiFileField(min_num=1, max_num=100, max_file_size=1024*1024*100)
|
|
|
|
|
|
def save(self, commit=True):
|
|
def save(self, commit=True):
|
|
instance = super(PanoramaUploadForm, self).save(commit)
|
|
instance = super(PanoramaUploadForm, self).save(commit)
|