Re: login auth issue - beginner

2011-08-20 Thread dm03514
Hi, Your traceback is from a 'login' function buy you're posting to base '/' Could that be an issue?? The traceback clearly explains what the problem is, no data is arriving at your login function -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: login auth issue - beginner

2011-08-20 Thread Phil
Thanks for reply. Yes my form is using POST. Here is my template file... {% block content %} {% if form.errors %} Sorry, that's not a valid username or password {% endif %} User name: Password: {% endblock %} -- You received this message because yo

Re: login auth issue - beginner

2011-08-20 Thread Scott Danzig
It reports you're missing the key "username" from your POST... so the first thing I'd check for is ... do you have a line like this in your login template page?: -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the

Re: login auth issue - beginner

2011-08-20 Thread Phang Mulianto
hi.. your request is GET, and you try get the query data with POST . this the errror cause 16. username = request.POST['username'] Exception Value: "Key 'username' not found in " check your login form to use POST.. HTH, Mulianto On Sat, Aug 20, 2011 at 9:59 PM, Phil wrote: > Hi, > > I am

login auth issue - beginner

2011-08-20 Thread Phil
Hi, I am new to Django and am trying to use the built in auth features for the first time. I have been following the steps on the djangobook website here... http://www.djangobook.com/en/1.0/chapter12/ However I am getting the following error on my login page. Anyone know where I am going w