Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/b/o/boar-HEAD/boar/articles/tasks.py   boar(Download)
    def run(self, article, date, user, ip_address, **kwargs):
        logger = self.get_logger(**kwargs)
        qs = Hit.objects.filter(article=article, date__gte=date-datetime.timedelta(hours=1))
        if user and not user.is_authenticated():
            user = None