Answer the question
In order to leave comments, you need to log in
How to filter response from restapi(Django+Angular+Restangular) by required field?
Суть вопроса - api django возвращает ответ вида:
[{"pk":14,"gallery":3,"file":"images/AvxIZ32JvKc_AroZmqy.jpg"},{"pk":15,"gallery":4,"file":"images/g3CmQx7nle8.jpg"},{"pk":15,"gallery":4,"file":"images/g3CmQx7nle8.jpg"}]
Как из него получить список содержащий только объекты с полем "gallery":4. Использую Restangular
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question