# HG changeset patch # User Brian Neal # Date 1418694688 21600 # Node ID 63209e53f3aa80080dbd570031456fbed516a119 # Parent 64a5acb83937c63d5cdd30835eb7b2b44441f78d# Parent 21946dc3662d0fa4888393515f2e8fa752bb802f Merge with upstream. diff -r 64a5acb83937 -r 63209e53f3aa contests/models.py --- a/contests/models.py Mon Dec 15 19:51:12 2014 -0600 +++ b/contests/models.py Mon Dec 15 19:51:28 2014 -0600 @@ -77,6 +77,9 @@ """ return not self.win_date and self.is_active() + def can_comment_on(self): + return self.is_active() + def pick_winners(self): """ This function randomly picks winners from all the contestants.