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/m/a/madcow-HEAD/contrib/django-memebot/gruntle/memebot/management/commands/bounce.py   madcow(Download)
        if count <= 0:
            raise CommandError('must specify at least one for bouncing')
        links = Link.objects.all()
        pending_count = links.filter(state='new').count()
        if pending_count >= count:

src/m/a/madcow-HEAD/contrib/django-memebot/gruntle/memebot/views/memebot.py   madcow(Download)
    start = (page - 1) * per_page
    end = start + per_page
    links = Link.objects.all()
    if not text.boolean(request.GET.get('disabled')):
        links = links.exclude(state='disabled')