def by_user_and_public_projects(self, user):
        # Avoiding circular import troubles. get_model didn't make it.
        from transifex.projects.models import Project
        ctype = ContentType.objects.get(model='project')
        q = self.filter(user__pk__exact=user.pk, content_type=ctype,
                object_id__in=Project.objects.filter(private=False))
        return _distinct_action_time(q)
Return LogEntries for a specific user and his actions on public projects.
dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/actionlog/models.py/LogEntryManager.by_user_and_public_projects