diff options
| author | Honza Král <Honza.Kral@gmail.com> | 2013-02-23 14:16:37 -0800 |
|---|---|---|
| committer | Honza Král <Honza.Kral@gmail.com> | 2013-02-23 14:16:37 -0800 |
| commit | 83ecb7b145644a1489db4137ac4d779bf1f294ca (patch) | |
| tree | dc111c7db6798b93460a8e7ddec573e9bb034977 /django | |
| parent | 1c11ee63459c4362affbd6a20f2ddf9c2ecd8dce (diff) | |
| parent | 32a7ab21482ef06f7e01a70fad8495f659c4d29f (diff) | |
Merge pull request #809 from asendecka/ticket19526
Fixed #19526 - make regexes for css case insensitive
Diffstat (limited to 'django')
| -rw-r--r-- | django/contrib/staticfiles/storage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/staticfiles/storage.py b/django/contrib/staticfiles/storage.py index 7e87a89f5b..f444e12c19 100644 --- a/django/contrib/staticfiles/storage.py +++ b/django/contrib/staticfiles/storage.py @@ -71,7 +71,7 @@ class CachedFilesMixin(object): pattern, template = pattern else: template = self.default_template - compiled = re.compile(pattern) + compiled = re.compile(pattern, re.IGNORECASE) self._patterns.setdefault(extension, []).append((compiled, template)) def file_hash(self, name, content=None): |
