Skip to content

Admin upload not displaying in Django 3.2 for versions 2+ #253

@tammyalexandra

Description

@tammyalexandra

In the admin the S3 direct upload form is not showing up -- it should appear in the space to the right of "Local image:" in the screenshot below:

image

All the markup for the element does appear in the source of the page. I discovered that the CSS from /static/s3direct/dist/index.css appears to be hiding it (what you see below is the CSS straight from the file; it was not modified by any JS that ran on the page).

image

Downgrading django-s3direct to 1.1.8 but keeping Django 3.2 restored the functionality of django-s3direct. No version of django-s3direct 2.0 or above works. Working versions suggest that JS runs after the page loads to display the form elements. I am not getting any JS errors in the browser.

I do not have any custom code running in my admin, and I confirmed that all my code and configuration matches the documentation for the newer versions of django-s3direct.

Thanks for any help you can provide untangling this.

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