Can you send your view here? On Thu, 21 Mar 2019 12:58 Manlio Perillo, <manlio.peri...@gmail.com> wrote:
> I have a Django application that works perfectly fine both on my PC and on > a hosting system with CloudLinux and Passenger. > However when I added a form with a file field, I started to get 404 errors > on POST. > > I tried to remove all the middleware, but the problem is still here. > The error message says that the 404 error was raised by my view, but > that's not true; my view is not called at all during a POST request. > > What's strange is that I have another Django application on a different > hosting account with the same environment and it works fine. > The problem is probably in my application, but I'm unable to find it. > > Where should I search to find the cause of the problem? > > > Thanks > Manlio Perillo > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/313db9e4-340c-475a-abe6-f12f96213b05%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/313db9e4-340c-475a-abe6-f12f96213b05%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALJt1nvkXie8yTG%2BG9c7C8C%3D3modPsubLK%2B2R-RHgGBXiSizxw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.