]> git.ozlabs.org Git - patchwork/commit
models: use User.post_save signal to create UserProfile objects
authorJeremy Kerr <jk@ozlabs.org>
Thu, 10 Mar 2011 10:06:50 +0000 (18:06 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 30 Mar 2011 03:35:24 +0000 (11:35 +0800)
commite653db155cdb671d6ab1c52492fd37b9f80cb805
tree3d244db8e30f5b5128eee80cec12f117b0ec73d4
parenta16f6f8afd0e9487cb3d9b8041f24c7496330086
models: use User.post_save signal to create UserProfile objects

Rather than relying on the registration app's callback mechanism to
create the UserProfile object, use the post_save signal on auth.User.

This means that the UserProfile will be created regardless of how the
User was created.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
apps/patchwork/bin/setup.py [deleted file]
apps/patchwork/models.py
apps/patchwork/tests/utils.py
apps/patchwork/utils.py
apps/urls.py