Hello Django Users,

I'm building a application in Django where users have to sign in with
user name and password.
For instance a user defines a wrong password the Django will return
DoesNotExist. How can i catch this specific error.

Offcorse i can use try and except but this means i can't differentiate
between certain errors for instance when the Db is offline it will
raise another Error. The action i wan't to respond is different from
wrong username password.

thank's in advance for your help,

richard


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to