summaryrefslogtreecommitdiff
path: root/tests/view_tests
AgeCommit message (Collapse)Author
2019-08-09Fixed #29008 -- Fixed crash of 404 debug page when URL path converter raises ↵Ngalim Siregar
Http404.
2019-07-29Fixed #30411 -- Improved formatting of text tracebacks in technical 500 ↵Jerrod Martin
templates. Co-Authored-By: Daniel Hahler <git@thequod.de>
2019-06-28Fixed #30400 -- Improved typography of user facing strings.Jon Dufresne
Thanks Claude Paroz for assistance with translations.
2019-06-25Fixed typos in test comments.Tim Gates
2019-06-07Fixed #30521 -- Fixed invalid HTML in default error pages.Alexandre Varas
2019-06-07Refs #30521 -- Added tests for content of default error pages.Mariusz Felisiak
2019-04-27Fixed typos in test names.Daniel Hahler
2019-04-25Fixed #30399 -- Changed django.utils.html.escape()/urlize() to use ↵Jon Dufresne
html.escape()/unescape().
2019-04-08Fixed #30304 -- Added support for the HttpOnly, SameSite, and Secure flags ↵Ran Benita
on language cookies.
2019-04-05Refs #30324 -- Forced utf-8 encoding when loading templates for the ↵Nick Pope
technical 404 debug and congrats page.
2019-04-05Fixed #30324 -- Forced utf-8 encoding when loading the template for the ↵Nick Pope
technical 500 debug page. Regression in 50b8493. Related to ea542a9.
2019-02-14Refs #15902 -- Deprecated storing user's language in the session.Claude Paroz
2019-02-02Fixed #29393 -- Prevented infinite loop in ↵Vinay Karanam
ExceptionReporter.get_traceback_frames().
2019-01-30Fixed #30116 -- Dropped support for Python 3.5.Tim Graham
2019-01-28Fixed #29825 -- Fixed JS ngettext if the string is a non-plural msgid in the ↵Claude Paroz
catalog.
2019-01-17Refs #27829 -- Removed settings.DEFAULT_CONTENT_TYPE per deprecation timeline.Tim Graham
2019-01-10Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in ↵Simon Charette
favor of databases.
2019-01-02Used 4 space hanging indent for dictionaries.Tim Graham
Thanks Mariusz Felisiak for auditing.
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
2018-11-27Made reused RequestFactory instances class attributes.Simon Charette
2018-10-25Completed test coverage of views.defaults.bad_request().Hasan Ramezani
2018-10-23Completed test coverage of views.static.directory_name().Hasan Ramezani
2018-10-15Refs #27829 -- Added warning for settings.DEFAULT_CONTENT_TYPE usage outside ↵Jon Dufresne
of Django.
2018-07-24Fixed #24336 -- Made django.conf.urls.static() ignore all absolute URLsClaude Paroz
2018-06-22Fixed #29511 -- Added charset to JavaScriptCatalog's Content-Type header.Tim Graham
2018-05-07Captured logging in tests with self.assertLogs().Claude Paroz
2018-05-07Replaced django.test.utils.patch_logger() with assertLogs().Claude Paroz
Thanks Tim Graham for the review.
2018-02-07Refs #27795 -- Removed force_bytes/text() usage in tests.Tim Graham
2018-01-03Refs #15902 -- Made set_language() view always set the current language in a ↵Claude Paroz
cookie. The plan is to later deprecate/remove storing the language in the session.
2017-12-06Fixed #28893 -- Removed unnecessary dict.items() calls.Tim Graham
2017-10-13Fixed #28708 -- Added constants to detect the Python version.Tim Graham
2017-09-20Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.Sjoerd Job Postmus
Thanks Aymeric Augustin for shepherding the DEP and patch review. Thanks Marten Kenbeek and Tim Graham for contributing to the code. Thanks Tom Christie, Shai Berger, and Tim Graham for the docs.
2017-09-05Fixed CVE-2017-12794 -- Fixed XSS possibility in traceback section of ↵Tim Graham
technical 500 debug page. This is a security fix.
2017-08-12Fixed #28485 -- Made ExceptionReporter.get_traceback_frames() include frames ↵Martin von Gagern
without source code.
2017-08-07Fixed #28457 -- Updated the design of the 'Congrats' page for new Django ↵Timothy Allen
projects. Developed by Timothy Allen and Chad Whitman of The Wharton School with shepherding from Aymeric Augustin and Collin Anderson.
2017-08-02Refs #7697 -- Tested escaping of safe strings in the technical 500 debug view.Tim Graham
Tests were omitted in the original commit: a56a226241f5808b2eaf1e4b5a155d35047b8a06.
2017-08-02Refs #7697 -- Removed unnecessary force_escape of technical 500 debug view ↵Tim Graham
"unicode hint". The test passes before and after the removal. unicode_hint will never be SafeText, so normal autoescaping is sufficient.
2017-08-02Refs #5046 -- Tested the 'unicode hint' in the technical 500 debug view.Tim Graham
2017-06-22Refs #16870 -- Doc'd that CSRF protection requires the Referer header.Flávio Juvenal
2017-06-22Cosmetic edits to tests/view_tests/tests/test_csrf.py.Tim Graham
2017-06-06Fixed #18394 -- Added error for invalid JavaScriptCatalog packagesClaude Paroz
Thanks Tim Graham for the review.
2017-06-05Fixed #28271 -- Added charset to technical_500_response() AJAX response.partizan
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-05-25Fixed #28221 -- Fixed plural fallback translations in JavaScriptCatalog viewClaude Paroz
Thanks Waldemar Kornewald for the report and initial patch.
2017-05-18Fixed validity of test django_js.po filesClaude Paroz
2017-05-08Refs #27795 -- Stopped converting integer format settings to str in JS/JSON ↵Claude Paroz
i18n views Thanks Tim Graham for the review.
2017-05-08Renamed django.views.i18n test casesClaude Paroz
2017-04-25Fixed #28122 -- Fixed crash when overriding views.static.directory_index()'s ↵Tim Graham
template.
2017-04-15Fixed #28079 -- Restored "No POST data" (rather than an empty table) in HTML ↵Tim Graham
debug page. Regression in 7b6dccc82fa5b03cf431742c0655e5ac954e228e
2017-04-12Fixed #28007 -- Moved debug templates to the filesystemClaude Paroz
Thanks Tim Graham for the review.