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
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
2 matches
Mail list logo