1👍
The RelatedManager
is a Manager
and not a QuerySet
, but it implements the database-abstraction API and because of that it has all the QuerySet
methods such as get()
, exclude()
, filter()
and all()
.
The difference in calling all()
in a RelatedManager
is that it actually performs a query in the database.
The all()
method returns a QuerySet
.
0👍
You can execute any QuerySet
function to a RelatedManager
object. Yes, it will return a QuerySet, you can perform .all()
, .filter()
, etc.
- Django: model can be created without model field data?
- Django rest framework comment form not sending data (how to send and recieve json data using angular js)
Source:stackexchange.com