É verdade.


On Thu, Jun 27, 2013 at 11:03 AM, Gustavo Fonseca
<notifications@github.com>wrote:

> In scielomanager/articletrack/modelmanagers.py:
>
> > @@ -0,0 +1,20 @@
> > +# coding: utf-8
> > +from scielomanager.utils.middlewares import threadlocal
> > +from journalmanager.modelmanagers import UserObjectQuerySet, UserObjectManager, user_request_context
> > +
> > +
> > +class AttemptQuerySet(UserObjectQuerySet):
> > +
> > +    def all(self, get_all_collections=user_request_context.get_current_user_collections):
> > +        return self.filter(
> > +            collection__in=get_all_collections()).distinct()
>
> Sendo o Attempt vinculado a apenas 1 coleção, eu imagino que não haja
> necessidade de usar o distinct. Ou estou viajando?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/scieloorg/SciELO-Manager/pull/521/files#r4916217>
> .
>