Re: missing object in object_list generic view

2010-11-30 Thread Andre Terra
Start by reading http://www.b-list.org/weblog/2006/nov/16/django-tips-get-most-out-generic-views/ and finish by writing one (or many!) wrapper function(s) as suggested. It will make your code 1) readable, 2) easier to debug, 3) extensible, 4) powerful, and 5) DRY. Cheers, Andre Terra On Tue, No

missing object in object_list generic view

2010-11-30 Thread Carlos Aboim
It's very strange, got this: urls info_dict = { 'Queryset': Obra.objects.all (), } (r'index / $ ',' django.views.generic.list_detail.object_list ', info_dict, dict (name = "obras_index", template_object_name = 'obras', paginate_by = 5)), template [...] {% For book in the works%} obra.num