Opened 11 years ago

Closed 11 years ago

#6466 closed (wontfix)

Using email as primary key for users

Reported by: pupeno@… Owned by: nobody
Component: Uncategorized Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Not being able to smoothly use email as primary key for users, instead of username, is the biggest (and single) showstopper to adopting Django I have. I am not sure what the solution would be, but I think you should be aware of the problem.

Thank you.

Change History (3)

comment:1 Changed 11 years ago by Ramiro Morales

See #3011

comment:2 Changed 11 years ago by Matt McClanahan

Also see a trivial workaround:

comment:3 Changed 11 years ago by James Bennett

Resolution: wontfix
Status: newclosed

You're not required to use the supplied User model, and there's no conceivable way that it could support every possible scheme of requirements someone could want. If you want to use Django's auth system with other requirements the preferred method is to write an auth backend as covered in the documentation.

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