Re: Customised handling for wrong passwords entered in Login page in Django.

2016-05-03 Thread Arun S
Thanks Simon, I could now do all kinds of Session logging by handling the signals. Great Information. Cheers Arun. On Tuesday, May 3, 2016 at 7:33:45 PM UTC+5:30, Simon Charette wrote: > > Hi Arun, > > If you only want to log failed login attempts I suggest you connect a > receiver to > the

Re: Customised handling for wrong passwords entered in Login page in Django.

2016-05-03 Thread Simon Charette
Hi Arun, If you only want to log failed login attempts I suggest you connect a receiver to the user_login_failed signal[1] instead. Cheers, Simon [1] https://docs.djangoproject.com/en/1.9/ref/contrib/auth/#django.contrib.auth.signals.user_login_failed Le mardi 3 mai 2016 06:01:59 UTC-4, Arun

Customised handling for wrong passwords entered in Login page in Django.

2016-05-03 Thread Arun S
Hi, I was trying to add a Customised View to Handle Wrong Passwords entered by Users. As of now, Djangos Framework just outputs, "Invalid Username or Password" when a Wrong password is entered by the User. This doesnt allow much flexibility if some information such as Invalid Access needs to