Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOWTO get list of model instances that have no tags assigned? #275

Open
GoogleCodeExporter opened this issue Mar 26, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

Let's say I have a model, named MyModel, of which some instances have tags 
assigned.  Is there a way, using the django-tagging manager classes, to get a 
list of MyModel instances with no tags assigned?  

Or must I write my own custom queries against the django-tagging models?

It seems this would be possible to do in my own code if I could call 
TagManager._get_usage() and have it return a QuerySet rather than a list, 
because I could then apply my own filters to the returned QuerySet.

Original issue reported on code.google.com by [email protected] on 30 May 2012 at 11:50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant