# django.contrib.admin.options.add\_view 404 with image field

**URL:** <https://forum.djangoproject.com/t/django-contrib-admin-options-add-view-404-with-image-field/3246>\
**Category:** Using Django\
**Created:** [July 2, 2020, 2:52pm UTC](https://forum.djangoproject.com/t/django-contrib-admin-options-add-view-404-with-image-field/3246 "2020-07-02T14:52:35Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![alstr](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/alstr/32/1650_2.png) [@alstr](https://forum.djangoproject.com/u/alstr)\
**Post date:** [July 10, 2020, 1:10pm UTC](https://forum.djangoproject.com/t/django-contrib-admin-options-add-view-404-with-image-field/3246/17 "2020-07-10T13:10:54Z")

</div>

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](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…

---

_[View the full topic](https://forum.djangoproject.com/t/django-contrib-admin-options-add-view-404-with-image-field/3246)._
