Opened 10 years ago

Closed 10 years ago

#7592 closed (wontfix)

get_or_create for User

Reported by: Mihai Damian Owned by:
Component: contrib.auth Version: master
Severity: Keywords: get_or_create profile
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Shouldn't there be a get_or_create_profile() function for User to go along with get_profile() ?

Change History (1)

comment:1 Changed 10 years ago by Jacob

Resolution: wontfix
Status: newclosed

get_profile() is just a shortcut; there's no reason you can't import AUTH_PROFILE_MODULE yourself and call get_or_create on it.

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