Open hectorzaragoza opened 2 years ago
Not sure I'm understanding what you're trying to accomplish, can you elaborate using language more related to functionality? then we can dive into coding terminology that will solve the problem
Not sure I'm understanding what you're trying to accomplish, can you elaborate using language more related to functionality? then we can dive into coding terminology that will solve the problem
Sorry about that - I was a bit vague.
I have one array with strings and a second array of nested objects. I want to filter the second one to return the objects whose keys match the strings of the first array.
ahh! does this have to happen on the back end or is it something you can process in the client then send to the server?
The other Django team gave me that tip so I'm moving to the front end. :) I'm looking into the filter docs now...
Can someone jump in to take a look at an issue?
How's this going Hector?
What stack are you using?
DR
What's the problem you're trying to solve?
I am trying to extract values from a QueryDict in python to push to an array that I can then use to filter out objects from another array based on matching elements from the first array and keys of the second one.
Post any code you think might be relevant (one fenced block per file)
What things have you already tried to solve the problem?
I have tried conventional methods to try and access the values from the query dict and a variety of methods on both QueryDict and regular dictionaries.