Code

Opened 2 years ago

Closed 2 years ago

#18286 closed Cleanup/optimization (duplicate)

User Status

Reported by: anonymous Owned by: nobody
Component: contrib.auth Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I think that is_active field should be changed by a integer status fields, or choice field, because many applications create a status field instead active_field, by example account unconfirmated, inactive, deleted, blocked, suspended and we put it in a profile and sometimes could be expensive..
thanks

Attachments (0)

Change History (1)

comment:1 Changed 2 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

Marking as a duplicate of #3011.

The root problem here is that "some applications" will have a different set of usage criteria for certain features on the User model. Alternate values for "is_active" is just one such feature. #3011 addresses the issue of making the user model a configurable item.

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.