Skip to content

Commit

Permalink
One more LIVE_STATUS tweak
Browse files Browse the repository at this point in the history
git-svn-id: http://coltrane-blog.googlecode.com/svn/trunk@74 5f8205a5-902a-0410-8b63-8f478ce83d95
  • Loading branch information
ubernostrum committed Nov 2, 2007
1 parent af83477 commit 4499d5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion coltrane/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ def _get_live_entries(self):
Access this through the property ``live_entry_set``.
"""
return self.entry_set.filter(status__exact=1)
from coltrane.models import Entry
return self.entry_set.filter(status__exact=Entry.LIVE_STATUS)

live_entry_set = property(_get_live_entries)

Expand Down

0 comments on commit 4499d5f

Please sign in to comment.