I want to write if else condition for django filter to retrieve data by querying in django rest framework. I want to query data by filtering
class CreateRouti