Skip to content

Add support for _default_manager #17

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

Closed
mkurnikov opened this issue Feb 5, 2019 · 0 comments
Closed

Add support for _default_manager #17

mkurnikov opened this issue Feb 5, 2019 · 0 comments

Comments

@mkurnikov
Copy link
Member

Check whether any Manager instance is defined on the model.
If not, add the default objects attribute.

Also, plugin has to check whether default_manager_name is set in the Meta and set _default_manager to that, and if not, then set it to the first encountered one.

@TonyRippy TonyRippy mentioned this issue Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant