Permalink
Browse files

pulling pending feed magic filter letter into a constant.

  • Loading branch information...
1 parent 5335153 commit a0db3316f2da32d161a05ffa1eb9b68a91434707 @justinabrahms justinabrahms committed Feb 3, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 django_website/aggregator/models.py
View
3 django_website/aggregator/models.py
@@ -21,9 +21,10 @@ def items(self):
return FeedItem.objects.filter(feed__feed_type=self)
APPROVED_FEED='A'
+PENDING_FEED='P'
STATUS_CHOICES = (
- ('P', 'Pending'),
+ (PENDING_FEED, 'Pending'),
('D', 'Denied'),
(APPROVED_FEED, 'Approved')
)

0 comments on commit a0db331

Please sign in to comment.