Skip to content

Polymorphic inline form ignoring multipart for FileFields from Django 2.1 #380

@damijanracel

Description

@damijanracel

Admin form with polymorphic inlines is not multipart when you use an ImageField or a FileField, which results in the files not being uploaded to the server.

This issue can be replicated by implementing the example from documentation with StackedPolymorphicInline for django admin and having FileField or ImageField in the polymorphic models.

Polymorphic Inline documentation

Using the identical example on versions of django prior to 2.1, works ok.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions