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 #527 -- HijackUserAdminMixin: handle cases in which ForeignKey to User is not set #528
Conversation
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.
Ah, you already provided a patch. Excellent. I only had a small comment. Great that you added tests as well 👍
@codingjoe is that what you had in mind? |
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.
Almost there 👍
One last change and I believe we can release this.
handle hijacked==None and prevent error 500 resolves django-hijack#527 Revert "condition replaced by exception handling in permission checks" This reverts commit 922b498.
@codingjoe any further changes you want me to do? |
Nothing except sponsoring my maybe, so I find more time for OSS 🤣 In all seriousness, I will try to review it today. |
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.
LGTM, thanks @simonkern! Let's get this out of the door!
No description provided.