Articles suggestion:
- Example of queries with .select_related() , prefetch_related() , .iterator() and other performance related methods of the Django ORM
- Example of various search queries and full text search with Django ORM
Articles suggestion:
- Example of queries with .select_related() , prefetch_related() , .iterator() and other performance related methods of the Django ORM
- Example of various search queries and full text search with Django ORM
Interesting, for the second answer you can also use
```
Books.objects.all().only('title', 'published_date')
```
So instead of having a native python list like you would have with `values_list()` you will get a Queryset of django model, but only those 2 fields will be filled
Full Stack software developer, mainly working with Django and React, get in touch with me here : www.adonissimo.com or by email simoadonis AT gmail.com