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

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

src/d/j/django-feedbrater-0.9.6/feeds/update.py   django-feedbrater(Download)
 
  # get feeds due, maximum of 5 per cycle
  feeds = Feed.objects.filter(last_checked__lt=datetime.datetime.now()-datetime.timedelta(hours=1))[:5]
  feeds = Feed.objects.all()
 

src/p/l/planeta-pyar-HEAD/django_planeta_pyar/feeds/views.py   planeta-pyar(Download)
def get_global_feeds(request):
 
    global_feeds = Feed.objects.filter(global_feed=True)
    text = ''
    for gf in global_feeds:
def get_python_feeds(request):
 
    global_feeds = Feed.objects.filter(python_feed=True)
    text = ''
    for gf in global_feeds:

src/d/j/django-feedbrater-0.9.6/feeds/views.py   django-feedbrater(Download)
    model = Feed
    context_object_name = "feeds"
    queryset = Feed.objects.filter(beta=True)
 
    def get_paginate_by(self, queryset):

src/d/j/django-feedbrater-0.9.6/feeds/sitemap.py   django-feedbrater(Download)
    def items(self):
        return Feed.objects.filter(is_active=True)
 
    def lastmod(self, obj):
        return obj.last_modified

src/f/e/feedhq-HEAD/feedhq/reader/views.py   feedhq(Download)
        if 'read' in merged or 'kept-unread' in merged:
            feeds = Feed.objects.filter(
                pk__in=request.user.entries.filter(
                    pk__in=entry_ids).values_list('feed_id', flat=True))
            for feed in feeds: