changeset 869:63209e53f3aa

Merge with upstream.
author Brian Neal <bgneal@gmail.com>
date Mon, 15 Dec 2014 19:51:28 -0600
parents 64a5acb83937 (current diff) 21946dc3662d (diff)
children ee56c8c8cf98
files
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.