Changes between Initial Version and Version 1 of Ticket #29625, comment 1


Ignore:
Timestamp:
Aug 2, 2018, 5:20:06 AM (6 years ago)
Author:
Carlton Gibson

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29625, comment 1

    initial v1  
    11Not 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.
    22
    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.
     3A 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?
    44(''"Just use `refresh_from_db()`"'' is nice and clear.)
Back to Top