Code

Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#10106 closed (fixed)

default admin config for User should include is_active filter

Reported by: carljm Owned by: nobody
Component: contrib.auth Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Granted, it only takes six lines of code or so to subclass UserAdmin, unregister and re-register User. Nevertheless, a boolean field called is_active seems like a pretty obvious candidate for filtering, and I have a hard time seeing why it shouldn't be there by default.

Attachments (1)

10106_r9781.diff (641 bytes) - added by carljm 5 years ago.
patch to add is_active filter to UserAdmin

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by carljm

patch to add is_active filter to UserAdmin

comment:1 Changed 5 years ago by jacob

  • milestone set to 1.1
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 5 years ago by jacob

  • Resolution set to fixed
  • Status changed from new to closed

(In [10331]) Fixed #10106: added is_active to user admin's list_display.

comment:3 Changed 3 years ago by jacob

  • milestone 1.1 deleted

Milestone 1.1 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.