I'm not quite sure what "context" you're referring too here. If you're talking about a template context, you're overly specific. `cached_property` is also usable and useful outside of templates contexts.