Changes between Initial Version and Version 1 of Ticket #26652, comment 3
- Timestamp:
- May 26, 2016, 9:46:25 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26652, comment 3
initial v1 1 1 Managers were never intended to be accessible on model instances, we even [https://github.com/django/django/blob/30d110ef43d8a3c50ea8ec4e4fe49bd2bb859530/django/db/models/manager.py#L186 use a descriptor to prevent that usage] but `_default_manager` somehow escaped that restriction. I guess we can mention the change in the release notes. 2 2 3 For completeness I'll mention that if we really wanted these available on the instance we could just move the properties from `ModelBase` to`models.Model`, but I don't think we should.3 For completeness I'll mention that if we really wanted these available on the instance we could just redeclare the properties from `ModelBase` on `models.Model`, but I don't think we should.