rohitjain-rj / django-tagging

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

TaggedItem should accep defer and filter #210

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi everybody,

i think it would be great if TaggedItem would accept only() and defer()
methods as arguments like a normal model does.

Right now TaggedItem.objects.get_by_model(Model, tag) retrieves all columns.

I tried it with
TaggedItem.objects.get_by_model(Model.objects.defer('column'), tag) and
TaggedItem.objects.get_by_model(Model.objects.only('column'), tag)
but both returns all columns.

Am i missing something or will it be implemented sooner or later?

I am using a current revision from svn (1 day old, dont know the exact
revision name).

Original issue reported on code.google.com by sver...@googlemail.com on 12 Aug 2009 at 1:39