Hello, I have been experiencing this problem for a while now, and it recently seems to have gotten worse.
I’ve posted my question on StackOverflow: https://stackoverflow.com/questions/62796728/django-admin-404-error-when-creating-or-editing-a-model-instance
I am getting a 404 error on any admin change form with an ImageField when I submit the POST. I am also on an Apache server.
It only happens in production; when I run the app locally, it works 100% as expected. The GET request resolves fine in production so the path obviously exists.
Previously, this only occurred at random, but now it happens to every model with an ImageField.
I have dug through code, changed just about everything I can think of and I have gotten absolutely nowhere.
I’m leaning towards this being a server issue but I have no idea where to go from here.
Any advice would be greatly appreciated. I’m on the verge of stripping out all ImageFields…