2👍
List of Objects is evaluated,
Queryset isn’t unless you perform any computation on the data.
List of Objects will consume RAM space, Queryset won’t that much.
You can refer Queryset further in the code without actually dealing with data in your memory, list of objects won’t allow you to manipulate data that easily.
This is what I think, others can add to it.
1👍
QuerySet:
- can store multiple objects from your database.
- is a special and original type in Django but not in Python.
List:
- can store multiple values.
- is one of 4 built-in types in Python.
- [Django]-Can Django's select_for_update deadlock when used on the same record twice?
- [Django]-Django – ImageField, upload, store and serve image in development server
- [Django]-'is_superuser' is an invalid keyword argument for this function
Source:stackexchange.com