Re: 404 error when posting a multipart/form-data form

2019-04-24 Thread Manlio Perillo
On Thursday, March 21, 2019 at 10:28:30 AM UTC+1, Manlio Perillo 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 >

Re: 404 error when posting a multipart/form-data form

2019-03-22 Thread Manlio Perillo
On Friday, March 22, 2019 at 8:35:13 PM UTC+1, Raffaele Salmaso wrote: > > On Thu, Mar 21, 2019 at 2:42 PM Manlio Perillo > wrote: > >> The view code is here: >> https://gist.github.com/perillo/2f828209cea84ff8c753f6f2524119f1 >> > I d > Because I have remov

Re: 404 error when posting a multipart/form-data form

2019-03-22 Thread Manlio Perillo
On Friday, March 22, 2019 at 3:23:32 PM UTC+1, Manlio Perillo wrote: > > On Friday, March 22, 2019 at 1:28:55 PM UTC+1, Hamady Medvall wrote: >> >> You have to add the path /bug in URLConfig >> >> > A GET request to /mp/bug/ does not return an error, only a POST r

Re: 404 error when posting a multipart/form-data form

2019-03-22 Thread Manlio Perillo
lver that raises the 404 exception. But what I don't understand is why a GET request work. This is the trace for a POST request: https://paste.ee/p/sjq5s Thanks Manlio Perillo On Fri, Mar 22, 2019 at 10:45 AM Manlio Perillo > wrote: > >> On Thursday, March 21, 2019 at 2

Re: 404 error when posting a multipart/form-data form

2019-03-22 Thread Manlio Perillo
On Thursday, March 21, 2019 at 2:42:31 PM UTC+1, Manlio Perillo wrote: > > On Thursday, March 21, 2019 at 10:56:43 AM UTC+1, Mohammad Etemaddar wrote: >> >> Can you send your view here? >> >> > Here is the URL that reproduce the problem: > https://fast-page.it/

Re: 404 error when posting a multipart/form-data form

2019-03-21 Thread Manlio Perillo
code is here: https://gist.github.com/perillo/2f828209cea84ff8c753f6f2524119f1 What I find strange is that if I remove the {{ form }} and uncomment the manual input element, there is no error. > [...] Thanks Manlio Perillo -- You received this message because you are subscribed to th

404 error when posting a multipart/form-data form

2019-03-21 Thread Manlio Perillo
pplication, 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,