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

Fix ModelSerializer.build_*_field() argument types #609

Merged
merged 1 commit into from
May 9, 2024

Conversation

intgr
Copy link
Contributor

@intgr intgr commented May 9, 2024

The model_class= argument is a type of Model, not instance.

@intgr intgr changed the title Fix ModelSerializer.build_field() and related argument types Fix ModelSerializer.build_*_field() argument types May 9, 2024
@sobolevn sobolevn merged commit d891242 into typeddjango:master May 9, 2024
12 checks passed
@intgr intgr deleted the fix-ModelSerializer.build_field branch May 9, 2024 12:02
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.

None yet

2 participants