diff options
| author | Jannis Leidel <jannis@leidel.info> | 2011-09-21 15:58:21 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2011-09-21 15:58:21 +0000 |
| commit | eb5df8e98db5c5592d5f0a0ca4680f9368ed0db5 (patch) | |
| tree | 6851a5f6f0694232af02e1421dbf39c8f1338e72 /tests/regressiontests/staticfiles_tests/project/documents | |
| parent | 75199e8f6d96887c10ba79870428e04ed34e1ca5 (diff) | |
Fixed the relative static file resolution of the CachedStaticFilesStorage backend and the post processing of deeply nested static files.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/staticfiles_tests/project/documents')
5 files changed, 8 insertions, 2 deletions
diff --git a/tests/regressiontests/staticfiles_tests/project/documents/cached/css/img/window.png b/tests/regressiontests/staticfiles_tests/project/documents/cached/css/img/window.png Binary files differnew file mode 100644 index 0000000000..ba48325c0a --- /dev/null +++ b/tests/regressiontests/staticfiles_tests/project/documents/cached/css/img/window.png diff --git a/tests/regressiontests/staticfiles_tests/project/documents/cached/css/window.css b/tests/regressiontests/staticfiles_tests/project/documents/cached/css/window.css new file mode 100644 index 0000000000..9fea4e8a5e --- /dev/null +++ b/tests/regressiontests/staticfiles_tests/project/documents/cached/css/window.css @@ -0,0 +1,3 @@ +body { + background: #d3d6d8 url("img/window.png"); +}
\ No newline at end of file diff --git a/tests/regressiontests/staticfiles_tests/project/documents/cached/img/relative.png b/tests/regressiontests/staticfiles_tests/project/documents/cached/img/relative.png Binary files differnew file mode 100644 index 0000000000..ba48325c0a --- /dev/null +++ b/tests/regressiontests/staticfiles_tests/project/documents/cached/img/relative.png diff --git a/tests/regressiontests/staticfiles_tests/project/documents/cached/relative.css b/tests/regressiontests/staticfiles_tests/project/documents/cached/relative.css index 40c4a256aa..afa658dbeb 100644 --- a/tests/regressiontests/staticfiles_tests/project/documents/cached/relative.css +++ b/tests/regressiontests/staticfiles_tests/project/documents/cached/relative.css @@ -1,2 +1,5 @@ @import url("../cached/styles.css"); -@import url("absolute.css");
\ No newline at end of file +@import url("absolute.css"); +body { + background: #d3d6d8 url(img/relative.png); +}
\ No newline at end of file diff --git a/tests/regressiontests/staticfiles_tests/project/documents/cached/styles.css b/tests/regressiontests/staticfiles_tests/project/documents/cached/styles.css index 84936d1dcb..ca28fc35cd 100644 --- a/tests/regressiontests/staticfiles_tests/project/documents/cached/styles.css +++ b/tests/regressiontests/staticfiles_tests/project/documents/cached/styles.css @@ -1 +1 @@ -@import url("cached/other.css");
\ No newline at end of file +@import url("other.css");
\ No newline at end of file |
