On Thu, Dec 18, 2008 at 4:14 PM, Hussain Bohra
<hussainbohra...@yahoo.com> wrote:
> Hi All,
>
> I am trying my hands in a Django with a small application,  I am making one
> login page and acceptance / failure of a user name and password.

Hi Hussain,

There are a number of issues with the code you posted.

You might want to try adding an attribute to the form element:

<form action="/init/" ... > ...  </form>

This ensures it will post to the right URL.

Also, there are *much* better ways to do most of what you are trying
in that snippet. I would suggest that you go through the django
tutorial and book.

Regards
Rajeev J Sebastian
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to