Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

pulling pending feed magic filter letter into a constant.

  • Loading branch information...
commit a0db3316f2da32d161a05ffa1eb9b68a91434707 1 parent 5335153
@justinabrahms justinabrahms authored
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')
)
Please sign in to comment.
Something went wrong with that request. Please try again.