Changes between Version 71 and Version 72 of RemovingTheMagic


Ignore:
Timestamp:
Feb 25, 2006, 12:06:31 PM (19 years ago)
Author:
Chaoskcw
Comment:

QuerySet Parameters Tweak

Legend:

Unmodified
Added
Removed
Modified
  • RemovingTheMagic

    v71 v72  
    585585from myproject.blog.models import Entry
    586586info_dict = {'queryset': Entry.objects}
    587 
    588 or
    589 
     587}}}
     588
     589Or:
     590
     591{{{
     592#!python
    590593urlpatterns = patterns('',
    591594     (r'^(?P<object_id>\d+)/$', 'django.views.generic.list_detail.object_detail', {'queryset': Entry.objects})
Back to Top