-
Notifications
You must be signed in to change notification settings - Fork 1.1k
AttributeError: 'dict' object has no attribute 'getlist' #1406
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
Comments
Hi, this is probably a duplicate of #1150 Maybe django-debug-toolbar shouldn't crash, but the point still stands that |
thanks for the answer |
No. The argument still is that this isn't a bug in django-debug-toolbar but in your code. |
Perhaps an example of my code will clarify the situation. |
Hmm interesting. Thanks! I wonder where the behavior change comes from since I cannot find a change in Do you have a way to bisect the djengo-debug-toolbar commit responsible for this behavior? |
I can spend some time following |
I did some research and this is what I found. This error occurs due to a call to the In version 2, the call did not occur due to the code
In version 3, the order has changed slightly.
I see 2 ways to solve the problem.
I am willing to contribute, but would like to consult with the community for a solution approach. |
fix AttributeError: 'dict' object has no attribute 'getlist' #1406
Thanks! By the way, if you wanted feedback from the community you should wait a bit before merging your own pull requests. Jazzband of course allows you to do this. But, as always, with power comes responsibility. (FWIW I think the solution is fine, I would only have had cosmetic suggestions.) |
I don’t often send contributions anywhere, and not too long ago to Jazzband. Right now this contribution is burning for me because this error breaks my project. But in the future I will not be in such a hurry. Thanks. |
when using django-debug-toolbar = 3.1 version I get error
when using django-debug-toolbar = 2.0 version everything works correctly
The text was updated successfully, but these errors were encountered: