Opened 8 years ago

Closed 8 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: UI/UX:


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

Change History (1)

comment:1 Changed 8 years ago by Jacob

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
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