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/views.py   boar(Download)
    def get_index_context(self, date):
        if date:
            cartoons = Cartoon.objects.filter(date__range=self._filter_range(date))
            try:
                return {'cartoon': cartoons[0]}