-
Notifications
You must be signed in to change notification settings - Fork 567
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
NoReverseMatch in guardian admin when user model as pk UUID #611
Comments
Could provide feedback for PR #599? |
Indeed, same issue/fix. |
Do you notice any issues in your environment after apply proposed patch? |
No, everything works as expected with the patch |
any news on this issue ? |
I'm also having that issue when using uuid for my user. |
Same. |
Fixed by #634. Released. @Sleepy105, @bellini666 , @sdementen Could you verify or provide any feedback? |
@ad-m I've installed the current version on the |
I have a customer user model where the key is a UUID.
When I want to manage a user permission in the guardian admin model, I get an exception
as my user_id is not matching the regexp.
Replacing the regexp by
.+
(same as for object_pk) in https://github.com/django-guardian/django-guardian/blob/devel/guardian/admin.py#L99 solve the issuesThe text was updated successfully, but these errors were encountered: