On Feb 19, 2009, at 10:05 PM, Nalini wrote:

>
> While inputting an invalid username and password it should throw an
> alert message saying "invalid user". How to get this in django? Do i
> need to add something in views.py?

It's hard to know exactly what you're doing here, but I'm going to  
guess that you want to use the views that come with contrib.auth. See  
this page for details:

http://docs.djangoproject.com/en/dev/topics/auth/#authentication-in-web-requests

If that's not what you wanted, give us a little more information about  
what you're up to.

Yours,
Eric


>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to