It still passes all the tests and restricting reply_to was done in views before anyway. I figured the views could get more specific about their queries while the model would return the biggest set without further filters.

Matthew Riley MacPherson | http://lonelyvegan.com

On 2013-02-17, at 10:40 PM, Will Kahn-Greene <notifications@github.com> wrote:

> In standup/apps/users/models.py:
> 
> >          return paginate(statuses, page, startdate, enddate)
> >  
> > +    def statuses(self):
> > +        """Return all statuses from this team."""
> > +        user_ids = [u.id for u in self.users]
> > +        return Status.query.filter(Status.user_id.in_(user_ids))
> This includes reply_to statuses. Is that ok?
> 
> —
> Reply to this email directly or view it on GitHub.
> 
>