Hello
I have accountform which's validation should show errors when password
fields are left empty, but the errors did not show up. So i started
investigating, what is the problem and inserted this line in my form
validation:
raise forms.ValidationError(data.items())
And what i saw was:
* ('username', u'myusername')
* ('first_name', u'Alan')
* ('last_name', u'Kesselmann')
* ('pwd', u'A234234131332')
* ('pwdc', u'')
* ('email', u'[email protected]')
What is that u there? And why? For that u i cant do any checks like
if data.has_key("pwd") and data.has_key("pwdc"):
do someting here...
Alan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---