Open stevebrownlee opened 2 months ago
When the client performs a GET request to the products resource, a query string parameter of location should be supported to get all products whose location property contains the value of the query string parameter.
location
Invesitgate the __contains filtering mechanism.
__contains
https://tutorial.djangogirls.org/en/django_orm/#filter-objects
When the client performs a GET request to the products resource, a query string parameter of
location
should be supported to get all products whoselocation
property contains the value of the query string parameter.Invesitgate the
__contains
filtering mechanism.https://tutorial.djangogirls.org/en/django_orm/#filter-objects