-
Notifications
You must be signed in to change notification settings - Fork 127
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
AssertionError thrown when mixing managers #315
Comments
Hello, The assertion error is because Django 1.10 no longer supports this way of assigning model managers. It introduced a new API instead, using default_manager_name meta option (and an equivalent for base manager name). Therefore, the Are you using the new API to assign your manager to your model? If so, can you post a copy of the model and its meta options? |
Hi, I ran into this error, perhaps the docs should be updated? I had to add the following code to my models:
|
Interesting. |
It was hvads default one. |
I should add a tag While trying to figure out how to handle that, your workaround seems good. |
Hi !
I'm using this segment of the docs in order to implement translatable MPTT models. (By the way the MPTTManager seems to have been renamed to TreeManager)
However an AssertionError is thrown here due to my Django version (1.10.2)
Is there a way to overcome this, or the feature is not ready for 1.10 yet ?
The text was updated successfully, but these errors were encountered: