Skip to content

Conversation

@dzhuang
Copy link
Owner

@dzhuang dzhuang commented May 18, 2022

View customization:

  1. Added required method create_instance_from_form for ImageCreateView.
  2. Added required method create_cropped_instance_from_form for ImageCropView.

Allow customized image instance serialization with method:

  1. For image url, introduced get_image_url
  2. For crop url, introduced get_crop_url
  3. Allow custom serialize method named serialize_extra (with request as arg) to do more serialization of the image instance.

@dzhuang dzhuang merged commit 373403d into main Jul 13, 2022
@dzhuang dzhuang deleted the customize branch July 15, 2022 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant