diff options
author | Dan McGee <dan@archlinux.org> | 2013-11-08 20:14:27 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-11-08 20:15:02 +0100 |
commit | e2fc5cfccdd2f844e75df75f44fff84f4181da7d (patch) | |
tree | 0a90df2557f2a49829fcadde24b51fda176e87e2 /news/migrations/0002_move_news_in.py | |
parent | 7ac017e1e7884320bd00f67134dd1ae7e06ceaaf (diff) | |
download | archweb-e2fc5cfccdd2f844e75df75f44fff84f4181da7d.tar.gz archweb-e2fc5cfccdd2f844e75df75f44fff84f4181da7d.tar.xz |
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 'news/migrations/0002_move_news_in.py')
0 files changed, 0 insertions, 0 deletions