Changelog
v2.1.3 (2022-07-20)
Enhancement: Upgraded subset-iconfont dependency and optimized icon font css (#38).
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()
inImageCreateView
when customizingtarget_model
.Added required method
create_cropped_instance_from_form()
inImageCropView
when 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
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.
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.
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_url
inBaseImageModelMixin
. (#21)
v1.4.4 (2022-05-12)
Fixes: fixed
upload_template
anddownload_template
override after widget initialization. (#20)
v1.4.3 (2022-05-12)
Features: added
JS_DOWNLOAD_TEMPLATE_NAME
block. (#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-widget
todjango-galleryfield
.
v1.2.6-beta (2021-08-18)
Fixes: removed default
target_model
inListView
(BaseListViewMixin
).
v1.2.5-beta (2021-08-12)
Initial release.