diff options
| author | Tim Graham <timograham@gmail.com> | 2016-12-19 11:05:48 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-12-19 16:18:06 -0500 |
| commit | e233f357bd463df519ca5cd01106f1f59fb5733d (patch) | |
| tree | ec407a3474c4987e0ddd84809c9085235c2c3fa5 /tests/staticfiles_tests/storage.py | |
| parent | cc0bb07013ed3e7ec58ee6da014ed3094a1a350f (diff) | |
Refs #25484 -- Removed incorrect unquoting in {% static %}.
Regression in 374e6230ca9f9bb84cc9dd760dfb6395fbb5ff0f.
Thanks Florian Apolloner for the report and analysis.
Diffstat (limited to 'tests/staticfiles_tests/storage.py')
| -rw-r--r-- | tests/staticfiles_tests/storage.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/staticfiles_tests/storage.py b/tests/staticfiles_tests/storage.py index cf648f06f2..467217ae53 100644 --- a/tests/staticfiles_tests/storage.py +++ b/tests/staticfiles_tests/storage.py @@ -58,6 +58,11 @@ class PathNotImplementedStorage(storage.Storage): raise NotImplementedError +class QueryStringStorage(storage.Storage): + def url(self, path): + return path + '?a=b&c=d' + + class SimpleCachedStaticFilesStorage(CachedStaticFilesStorage): def file_hash(self, name, content=None): |
