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.
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
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
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
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
5 matches
Mail list logo