diff options
author | Dan McGee <dan@archlinux.org> | 2013-11-08 13:14:27 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-11-08 13:15:02 -0600 |
commit | e2fc5cfccdd2f844e75df75f44fff84f4181da7d (patch) | |
tree | 0a90df2557f2a49829fcadde24b51fda176e87e2 /retro | |
parent | 7ac017e1e7884320bd00f67134dd1ae7e06ceaaf (diff) |
Ensure user has a profile created when they go to edit it
Use get_or_create, even though it leaves a bad taste in my mouth. The
first user created won't have a profile becuase Django doesn't create
one for users created at the command line, causing an exception when
the user goes to edit it.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'retro')
0 files changed, 0 insertions, 0 deletions