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 request and 
*only* when using a file upload.

>From the trace I see that it's the URL resolver 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 <[email protected] 
> <javascript:>> wrote:
>
>> 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/mp/bug/
>>>
>>> and here is the URL that prints the Django environment:
>>> https://fast-page.it/mp/debug/
>>>
>>> The view 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.
>>>
>>>
>> No idea about 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> 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/efac7049-20d6-4a33-b928-cf4a494a6995%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/efac7049-20d6-4a33-b928-cf4a494a6995%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 [email protected].
To post to this group, send email to [email protected].
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/51ff1c93-2204-4304-83df-e99ca4f5337e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to