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

Closes #17166: Remove obsolete limit_choices_to argument from ForeignKey & M2M fields #19070

Merged
merged 1 commit into from
Apr 7, 2025

Conversation

jeremystretch
Copy link
Member

Fixes: #17166

  • Remove the limit_choices_to argument on all ForeignKey & ManyToMany fields.
  • Remove the argument from existing migrations as well, to avoid generating new migrations. (This field attribute has no impact on the database schema.)

@jeremystretch jeremystretch requested review from a team and bctiemann and removed request for a team April 3, 2025 13:19
@bctiemann bctiemann self-requested a review April 7, 2025 18:05
@bctiemann bctiemann merged commit 3902cab into feature Apr 7, 2025
6 checks passed
@jeremystretch jeremystretch deleted the 17166-remove-limit_choices_to branch April 7, 2025 18:44
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

Successfully merging this pull request may close these issues.

2 participants