Ticket #5176: patch.2.diff
File patch.2.diff, 489 bytes (added by , 17 years ago) |
---|
-
django/utils/cache.py
old new 117 117 for header in headerlist: 118 118 value = request.META.get(header, None) 119 119 if value is not None: 120 ctx.update( value)120 ctx.update(str(value)) 121 121 return 'views.decorators.cache.cache_page.%s.%s.%s' % (key_prefix, request.path, ctx.hexdigest()) 122 122 123 123 def get_cache_key(request, key_prefix=None):