Re: django.utils.functional documentation

2013-09-10 Thread Aymeric Augustin
Hi Daniele, As you noticed, the purpose of these functions isn't very well defined. They were written to fill specific use cases in the Django codebase. Before we document django.utils.functional, effectively making it a stable API, it would be best: - to define a consistent and nice API coveri

django.utils.functional documentation

2013-09-09 Thread Daniele Procida
There are caching/laziness-related functions and classes in django.utils.functional, but none seem to be documented (apart from cached_property which has documentation forthcoming). django.utils.functional.memoize Caches the output of a function in a dictionary. Could this be implemented as a