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

TagQuerySet inquiry #2

Closed
jholms opened this issue Aug 18, 2016 · 3 comments
Closed

TagQuerySet inquiry #2

jholms opened this issue Aug 18, 2016 · 3 comments

Comments

@jholms
Copy link

jholms commented Aug 18, 2016

I am still a novice at some of the Django things.
How would I implement the TagQuerySet? Could you provide me with a few examples? And do I need to import anything into my views?

@jholms
Copy link
Author

jholms commented Aug 18, 2016

As well, how would I use the managers.py file? Thanks for taking the time to review.

@funkybob
Copy link
Owner

You can use the TagQuerySet like any other, and you can use as_manager() to make a manager for your models: https://docs.djangoproject.com/en/1.10/ref/models/querysets/#as-manager

I just added this to the README...

@jholms
Copy link
Author

jholms commented Aug 18, 2016

Okay great, thanks.

@jholms jholms closed this as completed Aug 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants