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

Make managers in django.contrib generic #190

Merged
merged 1 commit into from
Sep 10, 2023
Merged

Conversation

hamdanal
Copy link

This is similar to the base model and managers and to the user models and manager. It also reflects the runtime behavior as a model's manager is always associated with the model class itself (represented by Self), not the parent class where it is defined. Also did some trivial fixes in the those files.

This is similar to the base model and managers and to the user models
and manager. It also reflects the runtime behavior as a model's manager
is always associated with the model class itself (represented by `Self`),
not the parent class where it is defined. Also did some trivial fixes in
the those files.
@hamdanal hamdanal changed the title Make managers django.contrib generic Make managers in django.contrib generic Sep 10, 2023
@sbdchd
Copy link
Owner

sbdchd commented Sep 10, 2023

Thank you!

@kodiakhq kodiakhq bot merged commit 370cbd6 into sbdchd:main Sep 10, 2023
@hamdanal hamdanal deleted the managers branch September 10, 2023 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants