I think this <http://packages.python.org/wheezy.web/tutorial.html> one explains how it works.
By the way, I had the curiosity to take a look at Python ML entry<http://mail.python.org/pipermail/python-list/2012-September/631384.html>which is called "Fastest web framework" and I the Wheezy > framework <http://pypi.python.org/pypi/wheezy.web/0.1.304>. The cache > api<http://packages.python.org/wheezy.http/userguide.html#content-cache>- for > instance - is not something I would call well designed and useable : > > @response_cache(none_cache_profile) > def change_price(request): > ... > with cache_factory() as cache > dependency = CacheDependency('list_of_goods') > dependency.delete(cache) > return response > > Is it working code ? where does the returned response come from and how > does the 3 lines above can impact it ? > If you want to turn off the cache you have to change all that logical > code, not just the @decorator, right ? Seriously, dude. > >> -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-developers/-/2upGTMGQEGQJ. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.