Opened 16 years ago

Closed 16 years ago

#7592 closed (wontfix)

get_or_create for User

Reported by: Mihai Damian Owned by:
Component: contrib.auth Version: dev
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

Description

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

Change History (1)

comment:1 by Jacob, 16 years ago

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