We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given a model like this:
class Thing(models.Model): objects = models.Manager() cte_objects = CTEManager()
The following code:
cte = With(Thing.cte_objects.all()) cte.queryset().with_cte(cte)
fails with AttributeError: 'QuerySet' object has no attribute 'with_cte'
AttributeError: 'QuerySet' object has no attribute 'with_cte'
The documentation says:
Prerequisite: A Model with a “CTEManager”
Seems like the default manager is expected to be a CTEManager, not just "a" manager.
Not sure if this is a bug or a need for clarity on the default manager requirement in the documentation.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given a model like this:
The following code:
fails with
AttributeError: 'QuerySet' object has no attribute 'with_cte'
The documentation says:
Seems like the default manager is expected to be a CTEManager, not just "a" manager.
Not sure if this is a bug or a need for clarity on the default manager requirement in the documentation.
The text was updated successfully, but these errors were encountered: