you are filtering all the model just by using the id, what if we need to query based on the duration of the recipe, so I can get all the recipes that can be done in 5 min, I tried to alter it by creating a new class in the views.py, but the tests keeps failing. how do we add multiple multiple filters.
you are filtering all the model just by using the id, what if we need to query based on the duration of the recipe, so I can get all the recipes that can be done in 5 min, I tried to alter it by creating a new class in the views.py, but the tests keeps failing. how do we add multiple multiple filters.