Re: method="POST" form problems. Help required

2008-06-27 Thread Peter of the Norse
Nested forms are allowed in XHTML5[1]. Since there isn’t a browser that does it yet, you’ll have to wait. On Jun 21, 2008, at 5:36 PM, [EMAIL PROTECTED] wrote: > Atlast, I found the bug, login.html inherits from base page. So, the > form mentioned in the above code is nested inside a GET

Re: method="POST" form problems. Help required

2008-06-21 Thread [EMAIL PROTECTED]
That clears everything. Thanks a lot. -Priyank On Jun 21, 4:46 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Sat, Jun 21, 2008 at 7:36 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: > > > > > Atlast, I found the bug, login.html inherits from base page. So, the > > form mentioned in the

Re: method="POST" form problems. Help required

2008-06-21 Thread Karen Tracey
On Sat, Jun 21, 2008 at 7:36 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Atlast, I found the bug, login.html inherits from base page. So, the > form mentioned in the above code is nested inside a GET form. > > Now I get one doubt. Can't we nest the forms? Does nesting of forms > make

Re: method="POST" form problems. Help required

2008-06-21 Thread [EMAIL PROTECTED]
Atlast, I found the bug, login.html inherits from base page. So, the form mentioned in the above code is nested inside a GET form. Now I get one doubt. Can't we nest the forms? Does nesting of forms make sense in any context? On Jun 21, 4:12 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: >

Re: method="POST" form problems. Help required

2008-06-21 Thread [EMAIL PROTECTED]
Yeah.. That is one bug. But that is not the reason. Because, execution is not going inside the if condition. request.method is GET instead of POST. So anything inside the if condition shouldn't matter. Any other bugs? I am so much tired of this mysterious looking bug Thanks, Priyank. On Jun

Re: method="POST" form problems. Help required

2008-06-21 Thread Jeff FW
Looks like you forgot a return statement in the if statement. Not sure if that would cause what you're seeing, but it certainly couldn't help. -Jeff On Jun 21, 6:46 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I forgot to post the problem. After clicking the 'Login' button, >

Re: method="POST" form problems. Help required

2008-06-21 Thread [EMAIL PROTECTED]
I forgot to post the problem. After clicking the 'Login' button, Httprequest is submitted with method GET instead of POST. When I tried to view the local variables, I am getting the form variables in GET data and I am getting POST data as No data. Sorry for the trouble. Thanks, Priyank On Jun

method="POST" form problems. Help required

2008-06-21 Thread [EMAIL PROTECTED]
Hi, I am having problems with POST. I am aware of this newbie mistake http://code.djangoproject.com/wiki/NewbieMistakes#POSTtoviewslosesPOSTdata Could someone help me out. -- My view is lass LoginForm( forms.Form):