def unreviewed(self, queue, and_approved=False):
    query = {'passed': None, 'queue': queue}
    if and_approved:
        query['app__status__in'] = amo.WEBAPPS_APPROVED_STATUSES
    return self.get_queryset().no_cache().filter(**query)
def unreviewed(self, queue, and_approved=False):
    query = {'passed': None, 'queue': queue}
    if and_approved:
        query['app__status__in'] = amo.WEBAPPS_APPROVED_STATUSES
    return self.get_queryset().no_cache().filter(**query)