We are in the early stages of development and we are looking for an approach to build an API using DRF to support filtering when there are multiple groups
The Filter looks as follows:
There are few group that goes to 3 levels, few to 2 level and few doesn't have any level at all. The data filtering should work when selecting any of the check boxes and the API should return the filtered response
I am beginner in Django and so far has worked on basic filtering with one level like Purchase.objects.filter(purchaser=user)
Any guidance on designing the model and API structure would be much appreciated
Aucun commentaire:
Enregistrer un commentaire