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

Fixes: #18288 - Fix prefetch_related incorrectly looking for "site" on scoped models #18298

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

bctiemann
Copy link
Contributor

Fixes: #18288

At least three detail views in ipam/views.py are using prefetch_related on the site field, which no longer is compatible with that pattern after changing to generic scopes. This change updates those prefetched fields to scope.

@bctiemann bctiemann changed the base branch from develop to feature January 3, 2025 19:15
@jeremystretch jeremystretch merged commit 89d7487 into feature Jan 6, 2025
6 checks passed
@jeremystretch jeremystretch deleted the 18288-fix-scope-prefetch_related branch January 6, 2025 14:48
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.

Error when selcting to view IP address details
2 participants