Django django-admin-async-upload returns 302 redirect to 404 page in staging environment
I'm using the django-admin-async-upload library to handle asynchronous file uploads in my Django project. Everything works perfectly in my local development environment.
However, when I deploy to the staging environment, attempting to upload a file results in a 302 redirect, which then leads to our custom 404 page.
In the browser's network tab, I see a 302 Found status code, and the Location header points to our 404 page.
I've ensured that the admin_async_upload URLs are included in our urls.py, and the app is added to INSTALLED_APPS. I'm not sure why this is happening only in the staging environment.
Any insights or suggestions would be greatly appreciated.