Opened 10 years ago

Last modified 10 years ago

#24288 closed New feature

Custom User Models for small tweaks — at Initial Version

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

When creating projects that have 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 (0)

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