Ticket #4071: django_cache.diff

File django_cache.diff, 495 bytes (added by Ionut Ciocirlan (xlotlu) <upstaked@…>, 18 years ago)
  • django/utils/cache.py

     
    5555        cc = {}
    5656    for (k,v) in kwargs.items():
    5757        cc[k.replace('_', '-')] = v
    58     cc = ', '.join([dictvalue(el) for el in cc.items()])
     58    cc = ', '.join([dictvalue(el).replace('_', '-') for el in cc.items()])
    5959    response['Cache-Control'] = cc
    6060
    6161vary_delim_re = re.compile(r',\s*')
Back to Top