I'm using Django 1.11 and views based on classes. My user model is customized and it has a "status" field where it has "enabled, blocked and disabled". I would like to know how I can only allow users to log in and the others are barred.
It's already worth all!