Skip to content

Question: Control which forms/fields use the S3FileInputMixin #315

Description

@mfisco

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions