Skip to content

Is there a django style model manager? #426

Answered by collerek
simkimsia asked this question in Q&A
Discussion options

You must be logged in to vote

What do you mean by django model managers?

You have "manager" (QuerySet) under objects like in django.
If you want to register a new one you can manually create a QuerySet and assign it to the class, or subclass QuerySet and add your own methods.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@simkimsia
Comment options

@collerek
Comment options

@simkimsia
Comment options

Answer selected by simkimsia
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants