django show query

Posted Almost 6 years ago. Visible to the public. Draft.

query

q1 = Fruit.objects.filter(name='apple')
print(q1.query)

Cuauhtemoc
Last edit
Almost 6 years ago
Cuauhtemoc
Posted by Cuauhtemoc to Python Django (2018-06-14 13:03)