Hi Malcolm,
Thanks for your input. I can certainly understand your perspective of
wanting to keep the maintenance burden for Django to a minimum.
Sorry about the formatting. I didn't realize it wouldn't translate so
well into the mailing list post. I'm new to the open source world
(that's probab
On Tue, 2009-01-06 at 11:01 -0800, Gabe wrote:
> Hello,
>
> I really like the generic view feature of Django. It's been a handy
> way to save a lot of work. Lately though, I've been finding myself
> often wanting to display a list of objects filtered by some field. The
> documentation suggests ha
Sorry, here is an example of item_list
urlpatterns = patterns('',
(r'^products/$',
item_list,{
'template_object_name' : 'product',
'queryset' : Product.objects.all()
}),
(r'^products/(?P\d+)/$',
item_list,{
I also would like to request another view.
def item_list(request,queryset,extra_context={},
item_template=None,template_name=None,
template_object_name='object',template_content_name='items',
page=None,paginate_by=None
Hello,
I really like the generic view feature of Django. It's been a handy
way to save a lot of work. Lately though, I've been finding myself
often wanting to display a list of objects filtered by some field. The
documentation suggests handling this by writing a small view that
filters the object