Hello, I have a suggested improvement for the cache_page decorator. This is how the decorator is used, according to the docs <https://docs.djangoproject.com/en/dev/topics/cache/#django.views.decorators.cache.cache_page> :
from django.views.decorators.cache import cache_page @cache_page(60 * 15)def my_view(request): ... cache_page takes a single mandatory argument: the cache timeout, in seconds. I was wondering if Django should attempt to read the cache timeout value from settings.CACHES if the timeout argument is not passed. If this proposal is valid, should I create a ticket in the issue tracker? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c7f6f027-55b3-4c0b-9e4d-1f1c4f0bffd9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.