<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -55,7 +55,7 @@ class Post(models.Model):
         return url
     
     def get_related_posts(self):  ## TODO: Cache this method
-        related_posts = TaggedItem.objects.get_related(self, Post)[0:5]
+        related_posts = TaggedItem.objects.get_related(self, Post.objects.active())[0:5]
         return related_posts
 
 class PostModerator(CommentModerator):</diff>
      <filename>shiftingbits/blog/models.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>898e743a2a39ef3fb68f6b92c8b50eb185d90b7d</id>
    </parent>
  </parents>
  <author>
    <name>Patrick Altman</name>
    <email>patrick@studionow.com</email>
  </author>
  <url>http://github.com/paltman/shiftingbits/commit/a232c22802c59a4247cf353236e1f841dca7125a</url>
  <id>a232c22802c59a4247cf353236e1f841dca7125a</id>
  <committed-date>2009-03-19T18:08:50-07:00</committed-date>
  <authored-date>2009-03-19T18:08:50-07:00</authored-date>
  <message>patch to related posts submitted via email by Marc Remolt</message>
  <tree>da16bbb903635af62aae0dc727fbcf6b48d88c24</tree>
  <committer>
    <name>Patrick Altman</name>
    <email>patrick@studionow.com</email>
  </committer>
</commit>
