#25547: refresh_from_db leaves FieldFile with reference to db_instance
-------------------------------------+-------------------------------------
Reporter: vinnyrose | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 1.8
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: refresh_from_db, | Triage Stage: Accepted
fieldfile |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"6f229048ddd8c7347ff60dddfb9121e6021c7b2e" 6f229048]:
{{{
#!CommitTicketReference repository=""
revision="6f229048ddd8c7347ff60dddfb9121e6021c7b2e"
Fixed #25547 -- Made Model.refresh_from_db() update FileField's instance.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25547#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.89ad9f3f4090b0257a369f431695a9f2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.