Fix creating new users via zephyr mirroring.

(imported from commit 05e01efabdce081fc574486916c7db343f2cdb1d)
This commit is contained in:
Tim Abbott 2012-10-31 14:06:06 -04:00
parent 564565f627
commit 426ab9559d
1 changed files with 1 additions and 0 deletions

View File

@ -158,6 +158,7 @@ class UserProfile(models.Model):
# Auto-sub to the ability to receive personals.
recipient = Recipient.objects.create(type_id=profile.id, type=Recipient.PERSONAL)
Subscription.objects.create(user_profile=profile, recipient=recipient)
return profile
class PreregistrationUser(models.Model):
email = models.EmailField(unique=True)