Im so sorry it was a typo, i did wrote self.request.method ==" POST"
in code
On Sep 4, 7:00 pm, Simon Connah wrote:
> On 4 Sep 2011, at 11:25, Ludvig wrote:
>
> > added a print statement after self.request.post == "POST" and it came
> > out, so its a post.
>
> You should use:
>
> if request.metho
On 4 Sep 2011, at 11:25, Ludvig wrote:
> added a print statement after self.request.post == "POST" and it came
> out, so its a post.
You should use:
if request.method == 'POST':
instead. That is the correct method to determine whether a URL was requested
using the POST method.
--
You receiv
added a print statement after self.request.post == "POST" and it came
out, so its a post.
On Sep 3, 9:29 am, Jeff Tchang wrote:
> Can you verify that your request method is indeed a POST? Print it out
> if necessary.
>
> -Jeff
>
>
>
>
>
>
>
> On Fri, Sep 2, 2011 at 10:39 AM, Ludvig wrote:
> > He
No errors, and yes the file exists on the file system. I can see its
title in request.raw_post_data
On Sep 3, 2:34 am, Mo Mughrabi wrote:
> is there any error messages you seeing? or logged? does the file exists on
> the filesystem?
>
>
>
>
>
>
>
> On Fri, Sep 2, 2011 at 8:39 PM, Ludvig wrote:
>
Can you verify that your request method is indeed a POST? Print it out
if necessary.
-Jeff
On Fri, Sep 2, 2011 at 10:39 AM, Ludvig wrote:
> Hello,
>
> Usually only read these posts so i hope i'm doing this right!
>
> Recently my file upload just stopped working, and i've no idea what
> i've chan
is there any error messages you seeing? or logged? does the file exists on
the filesystem?
On Fri, Sep 2, 2011 at 8:39 PM, Ludvig wrote:
> Hello,
>
> Usually only read these posts so i hope i'm doing this right!
>
> Recently my file upload just stopped working, and i've no idea what
> i've chang
Hello,
Usually only read these posts so i hope i'm doing this right!
Recently my file upload just stopped working, and i've no idea what
i've changed. I noticed that request.FILES is empty so i've googled
some and cant figured out my problem.
My form looks like this
7 matches
Mail list logo