Im trying to do 2 filters so that they appear in the django admin filter sidebar,
the first one is the following
https://gist.github.com/739760c7de861f76657f
in this one I would like to do filter if Gold exclude that which starts with J and Silver is already working exclude all that does not start with J
The second filter is a bit more complicated, I have a field in my DB that contains a weigth of several people, I would like to be able to filter by ranks of weigth… for example weigths between 50 and 70 and so on…
How would I do this… Thank you so much as always!
Got it done…
I know the return should not be tied to one value but did not know what to do with it…
about the second poing well I used the same class but used %s_gte and %s_lte
Hope this helps someone out..