#28268: Feature: Clear cached_property on related DB operations. -------------------------------------+------------------------------------- Reporter: Özer Sahin | Owner: nobody Type: New feature | Status: new Component: Database layer | Version: 1.11 (models, ORM) | Severity: Normal | Resolution: Keywords: cached_property | Triage Stage: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Tim Graham): If I understand correctly, you want `rel.save()` to modify (clear the cached properties on) another, unrelated variable `model`. I'm not aware of any facility in Python to do that. -- Ticket URL: <https://code.djangoproject.com/ticket/28268#comment:3> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/063.e323bb5b5a962bfa9d35e9edb70dd7d2%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.