#34137: model.refresh_from_db() doesn't clear cached generic foreign keys
-------------------------------------+-------------------------------------
Reporter: pascal chambon | Owner: Bhuvnesh
Type: Bug | Status: closed
Component: | Version: 3.2
contrib.contenttypes |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"123b1d3fcf79f091573c40be6da7113a6ef35b62" 123b1d3]:
{{{
#!CommitTicketReference repository=""
revision="123b1d3fcf79f091573c40be6da7113a6ef35b62"
Fixed #34137 -- Made Model.refresh_from_db() clear cached generic
relations.
Thanks Simon Charette for the implementation idea.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34137#comment:10>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018450e9a673-4a5045e9-869b-44d5-873c-aa0f24f95ad4-000000%40eu-central-1.amazonses.com.