Access the UserProfile's new email field rather than using User.

This is preparatory for stopping using the User model.

(imported from commit a1b0808c8cc2ddd19a25163f91c4f18620c9ce90)
This commit is contained in:
Tim Abbott
2013-03-28 15:43:34 -04:00
parent 3a35c5b00c
commit 1443edce00
25 changed files with 94 additions and 94 deletions

View File

@@ -51,4 +51,4 @@ class Command(BaseCommand):
did_remove = do_remove_subscription(user_profile, stream)
print "%s %s from %s" % (
"Removed" if did_remove else "Couldn't remove",
user_profile.user.email, stream_name)
user_profile.email, stream_name)