Joined April 2013
·

Yannik Messerli

Lausanne, Switzerland
·
·

I'm sorry, I don't understand your question. Also, your code above misses some quotes and string concatenation operators.

I would use:

Restangular.allUrl('search', 'http://127.0.0.1:8000/').getList({where: '{"_id": {"$in":["someid","someid"]}}'});
Posted to POSTing from Angular to Django over 1 year ago

Nice simple workaround. If you do a lot of REST calls with Django, you should also checkout the Django Rest Framework which enable all this natively, and much more!

Achievements
174 Karma
14,612 Total ProTip Views
Interests & Skills