v2.0.1
-
-
Added required method :meth:
create_instance_from_forminImageCreateViewwhen customizingtarget_model. -
Added required method :meth:
create_cropped_instance_from_forminImageCropViewwhen customizingtarget_model. -
Allowed customize image URL via :meth:
get_image_urlintarget_model. -
Allowed customize image Crop URL via :meth:
get_crop_urlintarget_model. -
Allowed customize image object serialization by :meth:
serialize_extraintarget_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.
- Added option
-
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.
-