django/tests/staticfiles_tests
Matthew Stell 7feafd79a4
Some checks failed
Docs / docs (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Linters / flake8 (push) Has been cancelled
Linters / isort (push) Has been cancelled
Linters / black (push) Has been cancelled
Tests / Windows, SQLite, Python 3.13 (push) Has been cancelled
Tests / JavaScript tests (push) Has been cancelled
Fixed #35846 -- Ensured consistent path ordering in ManifestStaticFilesStorage manifest files.
This change reuses the existing sorting of `hashed_files` in
`ManifestStaticFilesStorage.save_manifest` to also store a sorted
`paths` mapping in the manifest file. This ensures stable manifest
output that does not change unnecessarily.
2025-07-01 15:24:34 -03:00
..
apps Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
project Fixed #36348 -- Fixed handling multiple nested url()s in ManifestStaticFilesStorage. 2025-05-16 15:56:17 +02:00
urls Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
__init__.py
cases.py Used addCleanup() in tests where appropriate. 2023-12-31 10:01:31 +01:00
settings.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
storage.py Refs #36005 -- Used datetime.UTC alias instead of datetime.timezone.utc. 2025-02-18 08:35:36 +01:00
test_checks.py Refs #26029 -- Removed DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings. 2023-09-18 22:12:40 +02:00
test_finders.py Refs #22712 -- Adjusted deprecation warning stacklevel in staticfiles finders. 2024-08-28 11:44:05 -03:00
test_forms.py Refs #26029 -- Deprecated DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings. 2023-01-12 09:58:36 +01:00
test_handlers.py Added test for non-HTTP request on ASGIStaticFilesHandler. 2022-08-08 07:27:32 +02:00
test_liveserver.py Used enterClassContext() where appropriate. 2024-01-04 05:55:29 +01:00
test_management.py Refs #36005 -- Used datetime.UTC alias instead of datetime.timezone.utc. 2025-02-18 08:35:36 +01:00
test_storage.py Fixed #35846 -- Ensured consistent path ordering in ManifestStaticFilesStorage manifest files. 2025-07-01 15:24:34 -03:00
test_templatetags.py Refs #26029 -- Deprecated DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings. 2023-01-12 09:58:36 +01:00
test_utils.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_views.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00