Im so sorry it was a typo, i did wrote self.request.method ==" POST" in code
On Sep 4, 7:00 pm, Simon Connah <[email protected]> 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.method == 'POST': > > instead. That is the correct method to determine whether a URL was requested > using the POST method. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

