mercredi 28 janvier 2015

Django api and SQLite3. How to do "SELECT * FROM table"?

I'm using SQLite3 database and when I try to make any api requests like MyClass.objects.all() or MyClass.objects.filter() or MyClass.objects.filter(id=1), I get only first column in table. I can get all colums in raw query, it doesn't work in api. What's wrong?


Aucun commentaire:

Enregistrer un commentaire