Opened 8 years ago

Closed 8 years ago

#7592 closed (wontfix)

get_or_create for User

Reported by: MihaiD 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 set to wontfix
  • Status changed from new to closed

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