Re: Documenting lazy() and memoize()

2013-03-15 Thread Florian Apolloner
Hi Tom, On Friday, March 15, 2013 12:11:04 PM UTC+1, Tom Evans wrote: > > Any thoughts on this please? > What's wrong with the solution provided by Donald, which is already in core? Regards, Florian -- You received this message because you are subscribed to the Google Groups "Django develop

Re: Documenting lazy() and memoize()

2013-03-15 Thread Tom Evans
On Mon, Mar 11, 2013 at 2:50 PM, Tom Evans wrote: > Hi all > > Someone just asked on users@ "How do I reverse a URL inside > settings.py". I gave a solution (eventually; got it wrong the first > time!) using two functions from django.utils.functional, lazy() and > memoize(). > > Neither of these t

Re: Documenting lazy() and memoize()

2013-03-11 Thread Donald Stufft
On Mar 11, 2013, at 10:50 AM, Tom Evans wrote: > Hi all > > Someone just asked on users@ "How do I reverse a URL inside > settings.py". I gave a solution (eventually; got it wrong the first > time!) using two functions from django.utils.functional, lazy() and > memoize(). > > Neither of these

Documenting lazy() and memoize()

2013-03-11 Thread Tom Evans
Hi all Someone just asked on users@ "How do I reverse a URL inside settings.py". I gave a solution (eventually; got it wrong the first time!) using two functions from django.utils.functional, lazy() and memoize(). Neither of these two functions are documented. and so aren't part of the API - real