Hello,
I’ve been trying to integrate django-s3file into a Django project that involves dynamically generated forms within formsets. Specifically, I use custom JavaScript to add extra forms to a formset dynamically. However, these dynamically added forms do not have valid signed POST URLs for S3 file uploads, which causes some issues.
Currently, it seems that the S3FileInputMixin is automatically applied to all forms by default. Is there a way to apply the mixin to only certain forms/fields selectively?
Thank you!
Hello,
I’ve been trying to integrate django-s3file into a Django project that involves dynamically generated forms within formsets. Specifically, I use custom JavaScript to add extra forms to a formset dynamically. However, these dynamically added forms do not have valid signed POST URLs for S3 file uploads, which causes some issues.
Currently, it seems that the
S3FileInputMixinis automatically applied to all forms by default. Is there a way to apply the mixin to only certain forms/fields selectively?Thank you!