summaryrefslogtreecommitdiff
path: root/tests/staticfiles_tests
AgeCommit message (Collapse)Author
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
2018-10-27Fixed #28606 -- Deprecated CachedStaticFilesStorage.Tim Graham
2018-09-27Fixed #29796 -- Added system check for STATICFILES_DIRS prefix ending with a ↵Paweł Kołodziej
slash.
2018-08-23Fixed #29570 -- Added check that MEDIA_URL isn't in STATIC_URL.Alejandro Dubrovsky
2018-08-20Fixed #29689 -- Improved performance of FileSystemStorage.listdir() and ↵Federico Bond
FilePathField with os.scandir().
2018-07-13Fixed #28566 -- Added path matching to collectstatic ignore patterns.Daniel Wiesmann
2018-06-11Fixed #29464 -- Silenced post-process messages in collectstatic's default ↵Arthur Silva
verbosity.
2018-05-09Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage().Morgan Aubert
2018-04-25Fixed #29353 -- Made StaticFilesHandler return a 404 response when ↵Claude Paroz
settings.DEBUG is False
2018-04-23Fixed #28973 -- Silenced copying/linking messages in collectstatic's default ↵Claude Paroz
verbosity.
2018-03-16Fixed hanging indentation in various code.Mariusz Felisiak
2018-01-23Refs #21221 -- Deprecated staticfiles and admin_static template tag libraries.Jon Dufresne
2018-01-21Fixed #29038 -- Removed closing slash from HTML void tags.Jon Dufresne
2018-01-15Added a couple tests for collectstatic.Mads Jensen
2017-12-28Removed unnecessary trailing commas and spaces in various code.Mariusz Felisiak
2017-11-06Fixed #28776 -- Fixed a/an/and typos in docs and comments.Дилян Палаузов
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better.
2017-08-23Fixed #27796 -- Prevented middleware being loaded twice with runserverClaude Paroz
Thanks Tim Graham for the review.
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-06-01Sorted imports per isort 4.2.9.Tim Graham
2017-03-17Fixed #27948 -- Removed incorrect unquote() in static serving views.Tim Graham
2017-02-03Fixed #27741 -- Isolated TestCollectionHashedFilesCache in a tmpdir.David Sanders
2017-02-01Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.Vytis Banaitis
2017-02-01Fixed #27661 -- Moved FileSystemFinder's ImproperlyConfigured exceptions to ↵Ling-Xiao Yang
system checks. Thanks Simon Charette, Mariusz Felisiak, Tim Graham, and Adam Johnson for review.
2017-01-26Refs #23919 -- Replaced tempfile.mkdtemp() with TemporaryDirectory() context ↵Chillar Anand
manager.
2017-01-25Refs #27741 -- Fixed staticfiles_tests.test_views when run in isolation.Tim Graham
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-25Refs #23919 -- Replaced errno checking with PEP 3151 exceptions.Tim Graham
2017-01-24Removed unneeded force_text calls in the test suiteClaude Paroz
2017-01-20Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.Tim Graham
2017-01-20Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.Tim Graham
These functions do nothing on Python 3.
2017-01-19Refs #23919 -- Removed obsolete contextlib.closing() calls (for Python 2).Tim Graham
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-11Fixed #24452 -- Fixed HashedFilesMixin correctness with nested paths.David Sanders
2017-01-04Fixed #27658 -- Prevented collectstatic from overwriting newer files in ↵Tim Graham
remote storages. Thanks revimi for the initial patch.
2017-01-04Tested collectstatic's deleting of files/symlinks when toggling --link.Tim Graham
2017-01-03Refs #15035 -- Corrected a bug and improved comments for a staticfiles test.Tim Graham
2016-12-19Refs #25484 -- Removed incorrect unquoting in {% static %}.Tim Graham
Regression in 374e6230ca9f9bb84cc9dd760dfb6395fbb5ff0f. Thanks Florian Apolloner for the report and analysis.
2016-12-17Fixed #25484 -- Made {% static %} render escaped URLs.alix-
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-09-02Fixed #27108 -- Displayed collectstatic's delete/overwrite warnings only if ↵François Freitag
some files exist in STATIC_ROOT.
2016-09-01Added tests for collectstatic interactivity.François Freitag
2016-07-12Fixed #26671 -- Made HashedFilesMixin ignore the 'chrome' scheme.Andrew Nester
2016-06-23Fixed #26791 -- Replaced LiveServerTestCase port ranges with binding to port 0.Tim Graham
2016-06-20Refs #26666 -- Added ALLOWED_HOSTS validation when running tests.Tobias McNulty
Also used ALLOWED_HOSTS to check for external hosts in assertRedirects().