Changelog
v2.1.2 (2022-07-18)
v2.1.1 (2022-07-18)
v2.0.1 (2022-07-14)
-
Added required method
create_instance_from_form()inImageCreateViewwhen customizingtarget_model.Added required method
create_cropped_instance_from_form()inImageCropViewwhen customizingtarget_model.Allowed customize image URL via
get_image_url()intarget_model.Allowed customize image Crop URL via
get_crop_url()intarget_model.Allowed customize image object serialization by
serialize_extra()intarget_model.Bundled most static assets (except
BootstrapandjQuery) intogalleryfield-ui.js, thus we no longer need to do extra configurations serving those static files locally.Added option
bootstrap_versioninDJANGO_GALLERY_FIELD_CONFIG, defaults to3.Removed all items in
DJANGO_GALLERY_FIELD_CONFIG["assets"]exceptextra_jsandextra_css.Added new options
jquery,bootstrap_cssandbootstrap_jstoDJANGO_GALLERY_FIELD_CONFIG["assets"], with CDN URL of those assets as default values.
Dropped
jQuery-UIin favor ofSortableJSfor sorting uploaded images. Addedjquery_file_upload_ui_sortable_optionsinDJANGO_GALLERY_FIELD_CONFIG.Allowed use
Bootstrap4 and 5 via settings configurations.
v1.5.1 (2022-05-17)
v1.5.0 (2022-05-16)
Refactor: used rollup.js to manage static assets. (#24)
v1.4.5 (2022-05-12)
Fixes: fixed
get_image_urlinBaseImageModelMixin. (#21)
v1.4.4 (2022-05-12)
Fixes: fixed
upload_templateanddownload_templateoverride after widget initialization. (#20)
v1.4.3 (2022-05-12)
Features: added
JS_DOWNLOAD_TEMPLATE_NAMEblock. (#19)
v1.4.2 (2022-05-12)
v1.4.1 (2022-05-06)
v1.2.7-beta (2021-08-22)
Breaking changes: renamed project from
django-gallery-widgettodjango-galleryfield.
v1.2.6-beta (2021-08-18)
Fixes: removed default
target_modelinListView(BaseListViewMixin).
v1.2.5-beta (2021-08-12)
Initial release.