Releases: dzhuang/django-galleryfield
v2.2.0
What's Changed
- Fix incorrect setting name by @phoebebright in #42
- Fix django-crispy-forms in tests and demos. by @dzhuang in #50
- Allow multiple fields per model. by @dzhuang in #63
New Contributors
- @dependabot made their first contribution in #39
- @phoebebright made their first contribution in #42
Full Changelog: v2.1.3...v2.2.0
v2.1.3
v2.1.2
v2.1.1
What's Changed
- Added tests on Django 4.0.6 by @dzhuang in #30
- Fix modal in Bootstrap 4 and 5. by @dzhuang in #31
- Optimize modal in small screens by @dzhuang in #32
- Allow demo using different bootstrap_version in settings.py by @dzhuang in #33
- Template block rename by @dzhuang in #34
- Added contribution guide. by @dzhuang in #35
Full Changelog: v2.0.1...v2.1.1
v2.0.1
-
-
Added required method :meth:
create_instance_from_form
inImageCreateView
when customizingtarget_model
. -
Added required method :meth:
create_cropped_instance_from_form
inImageCropView
when customizingtarget_model
. -
Allowed customize image URL via :meth:
get_image_url
intarget_model
. -
Allowed customize image Crop URL via :meth:
get_crop_url
intarget_model
. -
Allowed customize image object serialization by :meth:
serialize_extra
intarget_model
. -
Bundled most static assets (except
Bootstrap
andjQuery
) intogalleryfield-ui.js
, thus we no longer need to
do extra configurations serving those static files locally.- Added option
bootstrap_version
inDJANGO_GALLERY_FIELD_CONFIG
, defaults to3
. - Removed all items in
DJANGO_GALLERY_FIELD_CONFIG["assets"]
exceptextra_js
andextra_css
. - Added new options
jquery
,bootstrap_css
andbootstrap_js
toDJANGO_GALLERY_FIELD_CONFIG["assets"]
, with
CDN URL of those assets as default values.
- Added option
-
Dropped
jQuery-UI
in favor ofSortableJS
for sorting uploaded images. Addedjquery_file_upload_ui_sortable_options
inDJANGO_GALLERY_FIELD_CONFIG
. -
Allowed use
Bootstrap
4 and 5 via settings configurations.
-