]> git.ozlabs.org Git - patchwork/commit
Defer Person creation/linkage until registration is confirmed
authorJeremy Kerr <jk@ozlabs.org>
Tue, 22 Apr 2014 12:48:19 +0000 (20:48 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 22 Apr 2014 13:05:47 +0000 (21:05 +0800)
commitfd1f5851f960e03a91efd2a93397739ca9473d67
tree0aee1dd927ad272f0455d55dee5cdc2c95763e5a
parent011ee687fda0d3baf66831279565c14e411eab11
Defer Person creation/linkage until registration is confirmed

We currently create Person objects when a registration is submitted, not
when it is confirmed. This can lead to stale Person objects for
unconfirmed registrations.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
apps/patchwork/models.py
apps/patchwork/tests/registration.py
apps/patchwork/tests/user.py
apps/patchwork/tests/utils.py
apps/patchwork/views/user.py