0👍
When you get data from db, you need a Manager
through which you can construct the QuerySet
you wanted.
Each model has at least one Manager, and it’s called objects by default.
More info here.
Source:stackexchange.com
0👍
When you get data from db, you need a Manager
through which you can construct the QuerySet
you wanted.
Each model has at least one Manager, and it’s called objects by default.
More info here.