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

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

src/s/e/selena-1.0.2/src/selena/boards/views/boards.py   selena(Download)
    def get_context_data(self, **kwargs):
        ret = super(ServiceDetails, self).get_context_data(**kwargs)
        paginator = Paginator(
            ServiceHistory.objects.filter(service_id=self.service.id), 60,
        )
        fail_num = 0
        for probe in ServiceHistory.objects.filter(
            Q(id=self.probe_id) | Q(main_probe=self.probe_id),
            created__year=today.year,
            created__month=today.month,