summaryrefslogtreecommitdiff
path: root/main/log.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-11-08 13:14:27 -0600
committerDan McGee <dan@archlinux.org>2013-11-08 13:15:02 -0600
commite2fc5cfccdd2f844e75df75f44fff84f4181da7d (patch)
tree0a90df2557f2a49829fcadde24b51fda176e87e2 /main/log.py
parent7ac017e1e7884320bd00f67134dd1ae7e06ceaaf (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 'main/log.py')
0 files changed, 0 insertions, 0 deletions