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

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

src/d/j/django-notification-op-0.1.6/notification/feeds.py   django-notification-op(Download)
from django.utils.translation import ugettext_lazy as _
 
from notification import NOTIFICATION_ITEMS_PER_FEED, DEFAULT_HTTP_PROTOCOL
from notification.models import Notice
from notification.atomformat import Feed
    def items(self, user):
        return Notice.objects.notices_for(user).order_by("-added")[:NOTIFICATION_ITEMS_PER_FEED]