Skip to content

Commit

Permalink
'polls' app updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ellmetha committed Mar 7, 2015
1 parent 088cc76 commit 3cc1c98
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# Third party imports
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
from django.utils.functional import cached_property
from django.utils.translation import ugettext_lazy as _

# Local application / specific library imports
Expand Down Expand Up @@ -47,7 +48,7 @@ class Meta:
def __str__(self):
return '{}'.format(self.topic.subject)

@property
@cached_property
def votes(self):
"""
Returns all the votes related to this topic poll.
Expand Down

0 comments on commit 3cc1c98

Please sign in to comment.