UserManager has no method active()
|Reported by:||anonymous||Owned by:||nobody|
|Severity:||Keywords:||User UserManager is_active|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The User model has an is_active field, but there is no easy way to get all users which are active, which is most of the time what we need.
User.objects.active() seems like a proper way to get all active users.
It is shorter than
which is more verbose and leads to more typing errors.