Changes between Initial Version and Version 1 of Ticket #29625, comment 1
- Timestamp:
- Aug 2, 2018, 5:20:06 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29625, comment 1
initial v1 1 1 Not sure about the value of adding this. We already have [https://docs.djangoproject.com/en/2.0/ref/models/instances#django.db.models.Model.refresh_from_db `refresh_from_db()`] available. 2 2 3 A public `remove_prefetched_objects()` would be more fine-grained, yes, but I'm not sure it would be worth the extra API surface area, documentation and potential for user-confusion.3 A public `remove_prefetched_objects()` would be more fine-grained, yes, but would it be worth the extra API surface area, documentation and potential for user-confusion? 4 4 (''"Just use `refresh_from_db()`"'' is nice and clear.)