Permalink
Browse files

Remove a category from the winners page.

  • Loading branch information...
1 parent 62e193b commit 5b28a628f382f5e18cde6263d4165894cdb884a2 @pmac pmac committed May 17, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 flicks/videos/views.py
View
4 flicks/videos/views.py
@@ -23,6 +23,8 @@
TWEET_TEXT = _lazy("Check out '%(video_title)s' on Firefox Flicks. %(link)s")
log = commonware.log.getLogger('f.videos')
+WINNER_CATEGORIES = [c for c in CATEGORY_CHOICES if c[0] != 'new_technology']
+
def winners(request):
"""Winners page."""
@@ -31,7 +33,7 @@ def winners(request):
d = dict(
awards={},
- category_choices=CATEGORY_CHOICES,
+ category_choices=WINNER_CATEGORIES,
page_type='winners'
)

0 comments on commit 5b28a62

Please sign in to comment.