jinjie2088 / django-tagging

Automatically exported from code.google.com/p/django-tagging
Other
0 stars 0 forks source link

Ability to additionally filter queryset in tagged_object_list #57

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
New parameter to generic view, which adds ability to additionally filter
queryset.

Original issue reported on code.google.com by alexande...@gmail.com on 18 Aug 2007 at 9:26

Attachments:

GoogleCodeExporter commented 9 years ago
Patch for r101

Original comment by alexande...@gmail.com on 23 Aug 2007 at 3:20

Attachments:

GoogleCodeExporter commented 9 years ago
typo fix

Original comment by alexande...@gmail.com on 23 Aug 2007 at 3:55

Attachments:

GoogleCodeExporter commented 9 years ago
I'd also like to see this feature added; there are a lot of cases where simply 
fetching a queryset from the default 
manager doesn't cut it (e.g., a weblog application which wants to have some 
entries "live" and others not live).

I'd suggest a small change to the patch, though: generic views used to (in the 
pre-magic-removal days when we 
didn't have lazy QuerySets) take an argument called "extra_lookup_kwargs", 
which was a dictionary of keyword 
arguments to use in the query. This feels like a more descriptive name for what 
it's doing, and has the virtue of 
nostalgia for old-timers :)

Original comment by ubernost...@gmail.com on 28 Jan 2008 at 12:57

GoogleCodeExporter commented 9 years ago
looking forward to seeing this added, I've run into a need for this

Original comment by tre...@gmail.com on 25 Jun 2008 at 10:33