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

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

src/d/j/django-sbblog-0.1/sbblog/urls/entries.py   django-sbblog(Download)
from django.conf.urls.defaults import *
 
from sbblog.models import Entry
 
entry_info_dict = {'queryset': Entry.live.all(),
                   'date_field': 'pub_date'}
 
date_info_dict = {'queryset': Entry.live.all(),

src/d/j/django-sbblog-0.1/sbblog/urls/tags.py   django-sbblog(Download)
     {'queryset': Tag.objects.all()}),
    (r'^(?P<tag>[-\w]+)/$', 'tagging.views.tagged_object_list',
     {'queryset_or_model': Entry.live.all(),
      'template_name': 'sbblog/entries_by_tag.html'},
      'entries_by_tag'),

src/d/j/django-sbblog-0.1/sbblog/feeds.py   django-sbblog(Download)
    def items(self):
        return Entry.live.all()
 
    def item_pubdate(self, item):
        return item.pub_date