Re: Can't set request.method = 'POST'

2007-11-18 Thread Doug B
It looks like you have a search view that uses form POST data, and you want a shortcut to be able to show a predetermined search. So if you were a clothing store, you might want to use a link click to show all the Jackets, another all the Pants, etc. I think the best way to handle that is to not

Re: Can't set request.method = 'POST'

2007-11-18 Thread stec77
Hi, Don't know whether this will help but you can post data without directly using a form by using this online GET to POST converter: www.gettopost.com. HTH, Steve On 28 Oct, 03:11, Greg <[EMAIL PROTECTED]> wrote: > Karen, > I have some links on my site. I don't want to wrap these links around

Re: Can't set request.method = 'POST'

2007-10-27 Thread Kenneth Gonsalves
On 28-Oct-07, at 8:54 AM, James Bennett wrote: >> I have some links on my site. I don't want to wrap these links >> around >> a form element. Is there anyway that I can send post data without >> using a form? > > You need to start by reading this: > > http://faqs.org/rfcs/rfc2616.html cool

Re: Can't set request.method = 'POST'

2007-10-27 Thread Karen Tracey
On 10/27/07, James Bennett <[EMAIL PROTECTED]> wrote: > > > On 10/27/07, Greg <[EMAIL PROTECTED]> wrote: > > I have some links on my site. I don't want to wrap these links around > > a form element. Is there anyway that I can send post data without > > using a form? > > You need to start by readi

Re: Can't set request.method = 'POST'

2007-10-27 Thread James Bennett
On 10/27/07, Greg <[EMAIL PROTECTED]> wrote: > I have some links on my site. I don't want to wrap these links around > a form element. Is there anyway that I can send post data without > using a form? You need to start by reading this: http://faqs.org/rfcs/rfc2616.html -- "Bureaucrat Conrad,

Re: Can't set request.method = 'POST'

2007-10-27 Thread Greg
Karen, I have some links on my site. I don't want to wrap these links around a form element. Is there anyway that I can send post data without using a form? Thanks On Oct 27, 6:37 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > So you are trying to turn an HTTP request that comes in as a GET i

Re: Can't set request.method = 'POST'

2007-10-27 Thread Karen Tracey
So you are trying to turn an HTTP request that comes in as a GET into a POST? That strikes me as a bit odd. I don't know why what you are doing works under the development server but not in production (you give no details on your production environment), but note that the documentation for HttpRe

Can't set request.method = 'POST'

2007-10-27 Thread Greg
Hello, I've developed my application in the django developmental version and everything works. Here is my code view: def traditional(request, styleid): request.method = 'POST' request.POST = {'style': styleid, 'color': '---'} return searchresult(request) Ho