How would you query all the items in the database table?

XYZ.objects.all()

 Where XYZ is some class created in the model.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *