On Wed, Aug 7, 2013, Aymeric Augustin <aymeric.augus...@polytechnique.org> 
wrote:

>2013/8/6 Daniele Procida <dani...@vurt.org>
>
>> Is there any reason why django.utils.functional.cached_property should not
>> be documented, so that it can easily be used?
>>
>> <https://code.djangoproject.com/ticket/20870>
>>
>
>Yes, it's stable enough.
>
>The main drawback of the current implementation is that it's impossible to
>clear the cached value. That should be mentioned in the docs.

*Where* would be a good place to mention this?

There doesn't seem to be a single place in the documents for "handy decorators 
you might like". Perhaps there should be, with links to 
<https://docs.djangoproject.com/en/dev/topics/http/decorators/> for example.

There's 
<https://docs.djangoproject.com/en/1.5/ref/utils/#module-django.utils.functional>
 of course, but no-one would actually find it there unless they were already 
looking for it.

Daniele

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to