Allow to add multiple images in django-filebrowser module if "image" field exists in inline model.
pip install git+https://github.com/raagin/django-filebrowser-multiple-images.git
Same as for https://github.com/sehmaschine/django-filebrowser/
Add 'multiple_images_inline' in INSTALLED_APPS in django settings. Before "filebrowser"
INSTALLED_APPS = [
...
'multiple_images_inline',
'filebrowser',
...
]
You need 'image' field in your model that you what to use as inline model in admin.py!
Add MultipleImagesInlines module to your main admin model not in inline model.
from multiple_images_inline.admin import MultipleImagesInlines
class YourModelAdmin(MultipleImagesInlines):
pass
Then you should see 'Add multiple images' button in inlines.
when user add/remove inline by tradinional way it should reflect on "add multyple" button (set_multiple_button_href)