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

Support typechecking through_defaults for ManyToManyField #69

Open
danlamanna opened this issue Jun 14, 2024 · 1 comment
Open

Support typechecking through_defaults for ManyToManyField #69

danlamanna opened this issue Jun 14, 2024 · 1 comment

Comments

@danlamanna
Copy link

From the relevant django documentation section:

beatles.members.add(john, through_defaults={"date_joined": date(1960, 8, 1)})

It would be nice if django-autotyping could verify that date_joined belongs on the Membership model and that the value is the correct type.

@Viicos
Copy link
Owner

Viicos commented Jun 14, 2024

Thanks for the feature request, I'll try to see if it's possible to work on it next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants