Ticket #13035: 13035_managers_docs_patch.diff
File 13035_managers_docs_patch.diff, 1.1 KB (added by , 15 years ago) |
---|
-
docs/topics/db/managers.txt
169 169 170 170 If you use custom ``Manager`` objects, take note that the first 171 171 ``Manager`` Django encounters (in the order in which they're defined 172 in the model) has a special status. Django interprets th isfirst172 in the model) has a special status. Django interprets the first 173 173 ``Manager`` defined in a class as the "default" ``Manager``, and 174 several parts of Django (though not the admin application)will use175 that ``Manager`` exclusively for that model. As a result, it's oftena176 good idea to be careful in your choice of default manager ,in order to177 avoid a situation where overriding of``get_query_set()`` results in174 several parts of Django will use 175 that ``Manager`` exclusively for that model. As a result, it's a 176 good idea to be careful in your choice of default manager in order to 177 avoid a situation where overriding ``get_query_set()`` results in 178 178 an inability to retrieve objects you'd like to work with. 179 179 180 180 .. _managers-for-related-objects: