#34137: model.refresh_from_db() doesn't clear cached generic foreign keys
-------------------------------------+-------------------------------------
Reporter: pascal chambon | Owner: Bhuvnesh
Type: Bug | Status: assigned
Component: | Version: 3.2
contrib.contenttypes |
Severity: Normal | Resolution:
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
-------------------------------------+-------------------------------------
Comment (by pascal chambon):
Juste tested the patch against my codebase, now the code works without
forcing a "authenticated_user.controlled_entity.refresh_from_db()" :)
So looks quite good to me !
--
Ticket URL: <https://code.djangoproject.com/ticket/34137#comment:9>
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/0107018449ad963b-b1f849bc-592e-4fb2-bdf1-8fa421a617a5-000000%40eu-central-1.amazonses.com.