Can I filter on a property Django?

Nope. Django filters operate at the database level , generating SQL. To filter based on Python properties, you have to load the object into Python to evaluate the property–and at that point, you’ve already done all the work to load it.

Sizin İçin Seçtik  Should I use Django models?

Leave a Reply

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