Re: Admin changelist turns QueryDict into dict

2016-12-01 Thread Jonas von Poser
Thanks, I will! Jonas Am Mittwoch, 30. November 2016 22:31:19 UTC+1 schrieb Adam Johnson: > > I suspect it was simply to make it easier to work with. > > I'd suggest you create a ticket at > https://code.djangoproject.com/newticket and then try making the change > and seeing if Django's test s

Re: Admin changelist turns QueryDict into dict

2016-11-30 Thread Adam Johnson
I suspect it was simply to make it easier to work with. I'd suggest you create a ticket at https://code.djangoproject.com/newticket and then try making the change and seeing if Django's test suite still passes. All the information you should need is at https://docs.djangoproject.com/en/dev/inte

Re: Admin changelist turns QueryDict into dict

2016-11-30 Thread Florian Apolloner
Hi Jonas, usually QueryDict are immutable, therefore the deletion of the params the line below does not work. Constructing a new mutable querydict should be fine though. Cheers, Florian On Wednesday, November 30, 2016 at 10:17:49 PM UTC+1, Jonas von Poser wrote: > > Hi everybody, > > we've run

Admin changelist turns QueryDict into dict

2016-11-30 Thread Jonas von Poser
Hi everybody, we've run into an interesting situation: we implemented a custom SimpleListFilter for the admin which presents the choices as a list of checkboxes. Pressing "submit" sends the list to the backend for filtering. Unfortunately, this doesn't really work well and it took us a while to