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

fix: Objects with special symbols in primary key 404-ed #110

Merged
merged 8 commits into from
Aug 9, 2020

Conversation

ilyachch
Copy link
Contributor

@ilyachch ilyachch commented Aug 5, 2020

for case if object in database has any of special symbols
https://github.com/django/django/blob/master/django/contrib/admin/utils.py#L17
clicking on action button causes 404 error, as in SingleObjectMixin there are already parsed kwargs from url, and they are unquoted

made unquoting kwargs

@ilyachch ilyachch changed the title Fix issue if object has special symbols in primary key feat: Fix issue if object has special symbols in primary key Aug 5, 2020
@crccheck crccheck changed the title feat: Fix issue if object has special symbols in primary key fix: Objects with special symbols in primary key 404-ed Aug 8, 2020
Copy link
Owner

@crccheck crccheck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I'll merge later today just in case you had any more updates you wanted to do

@ilyachch
Copy link
Contributor Author

ilyachch commented Aug 8, 2020

I think it's finished - I tested it locally, so it works as expected
Just updated this branch

And I will be very grateful if this will apper in pypi

@crccheck crccheck merged commit 0c90ce1 into crccheck:master Aug 9, 2020
@crccheck
Copy link
Owner

crccheck commented Aug 9, 2020

k. released as v3.0.1

@ilyachch ilyachch deleted the fix_not_nub_ids branch August 9, 2020 09:48
@ilyachch ilyachch restored the fix_not_nub_ids branch August 9, 2020 09:48
@ilyachch
Copy link
Contributor Author

ilyachch commented Aug 9, 2020

thank you for releasing it so fast!

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.

None yet

2 participants