On Monday 06 March 2017 01:51:13 Arun S wrote: > i am using django-axes package and want to lock out a user based on > userid.
If you want to deactivate the account, then do so. "The login_required decorator does NOT check the is_active flag on a user, but the default AUTHENTICATION_BACKENDS[1] reject inactive users." >From the docs[2]. -- Melvyn Sopacua -------- [1] https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-AUTHENTICATION_BACKENDS [2] https://docs.djangoproject.com/en/1.10/topics/auth/default/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6076907.E1NjpaMp3D%40devstation. For more options, visit https://groups.google.com/d/optout.

