"login_username" should be the attribute named "name", not "id".
On Dec 23 2008, 11:03 am, DragonSlayre wrote:
> I've created my own form:
>
>
> Login:
> Username:
>
> Password:
>
>
>
>
> I am mappying /accounts/login/ to a view of mine, which is then
> calling:
>
> if request.
On Mon, 2008-12-22 at 19:03 -0800, DragonSlayre wrote:
> I've created my own form:
>
>
> Login:
> Username:
>
> Password:
>
>
>
>
> I am mappying /accounts/login/ to a view of mine, which is then
> calling:
>
> if request.method == 'POST':
> username = request.POST['lo
I've run into a similar problem, but am trying to submit the form with
a text link and java script.
The submit element is on the page, but hidden. and I get the same
error:
HTML
--
http://media.muskegohitmen.com im
HTML
http://media.muskegohitmen.com/images/
siteLogo_sm.png"/>
Username:
Password:
LoginForgot
Password ?!
# JS - there is a little mootools in there, but though that might be
the problem so I used the document. to see if that would do it
function hitmen
Cheers :)
Damn, I must have been a bit tired coding that up lol
Here's my working code (incase anyone else is as stupid as me):
Login:
Username:
Password:
On Dec 23, 4:23 pm, Malcolm Tredinnick
wrote:
> On Mon, 2008-12-22 at 19:03 -0800, DragonSlayre wrote:
> > I've created
On Mon, 2008-12-22 at 19:03 -0800, DragonSlayre wrote:
> I've created my own form:
>
>
> Login:
> Username:
>
> Password:
>
>
>
>
> I am mappying /accounts/login/ to a view of mine, which is then
> calling:
>
> if request.method == 'POST':
> username = request.POST['lo
I've created my own form:
Login:
Username:
Password:
I am mappying /accounts/login/ to a view of mine, which is then
calling:
if request.method == 'POST':
username = request.POST['login_username']
I have no idea why I'm getting the error - "Key 'login_username' not
fo
7 matches
Mail list logo