-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 GenericForeignKey validation #11550
Fixes GenericForeignKey validation #11550
Conversation
@DanSheps Could you please review this as you had assigned me the issues? If there are changes needed, I'd be happy to make them |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, however I would like @jeremystretch to review it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @abhi1693, and sorry for the delay in getting to this.
Fixes: #10221, #11454
Added a validation on
NetBoxModel
clean()
method for GenericForeignKey fields to ensure that the content type and object ID exist.