[schema] Add new boolean field in_home_view to Subscriptions

This is part of the Oppa Gmail Style proposed by Waseem.

(imported from commit 0663889bcb1f691842f69d243fd4ac0e4e3e0868)
This commit is contained in:
Luke Faraone 2013-01-15 16:31:46 -05:00
parent a3a0880266
commit cb5c9ed047
1 changed files with 1 additions and 0 deletions

View File

@ -270,6 +270,7 @@ class Subscription(models.Model):
user_profile = models.ForeignKey(UserProfile)
recipient = models.ForeignKey(Recipient)
active = models.BooleanField(default=True)
in_home_view = models.NullBooleanField(default=True)
class Meta:
unique_together = ("user_profile", "recipient")