Ticket #17861: staticfiles.diff

File staticfiles.diff, 447 bytes (added by milosu, 13 years ago)
  • django/contrib/staticfiles/storage.py

    old new  
    9595        return urlunsplit(unparsed_name)
    9696
    9797    def cache_key(self, name):
    98         return u'staticfiles:cache:%s' % name
     98        return u'staticfiles:cache:%s' % name.replace(' ', '_')
    9999
    100100    def url(self, name, force=False):
    101101        """
Back to Top