#32421: Add @cached_property in admindocs
-------------------------------------+-------------------------------------
Reporter: Nat S Dunn | Owner: Ramon
| Saraiva
Type: New feature | Status: assigned
Component: contrib.admindocs | Version: master
Severity: Normal | Resolution:
Keywords: cached_property | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Ramon Saraiva):
Replying to [comment:5 Nat S Dunn]:
Would be straight forward to also add `{field_name} (property)` to
properties. Another way would be adding something to the `Description`
column.
> Replying to [comment:4 Ramon Saraiva]:
> I like the idea of indicating that it is a cached property using
`{field_name} (cached property)` in the field column, but currently there
is no distinction made for properties vs. fields, so if you were to do
that, it would make sense to do the same thing for standard properties -
`{field_name} (property)`, which would be helpful, but that may be out of
the scope of this issue. I'm not sure how that works. Thanks for taking
this on, by the way!
--
Ticket URL: <https://code.djangoproject.com/ticket/32421#comment:6>
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/066.66ef9a855d7293b955a073eaeda484d7%40djangoproject.com.