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

5.0: Update django.contrib.contenttypes.fields.GenericForeignKey methods #2137

Merged
merged 2 commits into from
May 9, 2024

Conversation

JaeHyuckSa
Copy link
Contributor

I have made things!

Update stubs for django.contrib.contenttypes.fields for Django 5.0.

  • django.contrib.contenttypes.fields
    • django.contrib.contenttypes.fields.GenericForeignKey.get_content_type's model argument was added
    • django.contrib.contenttypes.fields.GenericForeignKey.get_prefetch_querysets was added

Related issues

Refs

Upstream PR

@sudosubin sudosubin mentioned this pull request May 9, 2024
39 tasks
@intgr intgr changed the title 5.0: Update django.contrib.contenttypes.fields 5.0: Update django.contrib.contenttypes.fields.GenericForeignKey methods May 9, 2024
Copy link
Collaborator

@intgr intgr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@intgr intgr merged commit 5216eaf into typeddjango:master May 9, 2024
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants