Opened 9 years ago

Closed 9 years ago

#24288 closed New feature (wontfix)

Custom User Models for small tweaks

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

Description (last modified by Paul Hallett)

When creating projects that has to cooperate with outside systems, devs can come upon situations where (for instance) they need a user model that accepts a 36 character username instead of the default 30 character limit, but otherwise behaves the same as the default model.

It's good that we have the flexibility to create custom user models and managers extending the abstract base classes. But recreating a large portion of the user model from scratch, when we only want to tweak one small thing, is not a very satisfactory or simple solution.

Would it be possible in some future release to design something in the middle ground between 'built-in' and 'completely custom', where we only have to specify the parts that need to change?

Change History (2)

comment:1 by Paul Hallett, 9 years ago

Description: modified (diff)

comment:2 by Tim Graham, 9 years ago

Resolution: wontfix
Status: newclosed

Absent a specific proposal, the idea is difficult to evaluate. If you have some specifics, feel free to float them on the DevelopersMailingList. There are some existing tickets like #19353 which would help though.

Note: See TracTickets for help on using tickets.
Back to Top