#28268: Feature: Clear cached_property on related DB operations.
-------------------------------------+-------------------------------------
Reporter: Özer Sahin | Owner: nobody
Type: New feature | Status: closed
Component: Database layer | Version: 1.11
(models, ORM) |
Severity: Normal | Resolution: wontfix
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
-------------------------------------+-------------------------------------
Changes (by Tim Graham):
* status: new => closed
* resolution: => wontfix
Comment:
Adding model related parameters to `cached_property` would require adding
some sort of specialized `cached_property` since currently it's a general
utility function usable on any Python class. All in all, it seems the
ideas in this ticket aren't thought through thoroughly enough to say
whether or not adding something to Django is required so I'm going to
close the ticket for now. A [https://djangopackages.org/grids/g/caching/
third-party app] for this use case might already exist. If you write some
code to solve your problem and think it should be added to Django, or if
you find that some change in Django is required to accomplish your use
case, feel free to write to the DevelopersMailingList to get feedback
about where to go from here.
--
Ticket URL: <https://code.djangoproject.com/ticket/28268#comment:7>
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/063.bcda3155d9a28916ea3ba839cf680b1f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.