summaryrefslogtreecommitdiff
path: root/tests/view_tests
AgeCommit message (Collapse)Author
2021-01-29[3.2.x] Fixed #32345 -- Fixed preserving encoded query strings in ↵Sandro Covo
set_language() view. Thanks Johannes Maron for the review. Backport of 6822aa5c6c3fbec7c5393a05e990865ba59fe167 from master
2020-11-20Fixed #32053 -- Fixed accessibility issues on the 'Congrats' page.Thibaud Colas
- Add lang attribute. - Use the same text for the page’s main heading, and title. - Add underlines for all links in copy. - Stop using h2 for link to the Django page. - Use h1 for the main heading. - Remove useless type attribute on style element. - Remove grey text that fails contrast checks. - Use a shade of grey that passes AAA contrast requirements. - Stop using h4 for footer links. - Add full stop in block-level links so VoiceOver correctly pauses between runs of text. - Hide main artwork for screen reader users. - Update SVG icons markup to be screen-reader friendly. - Switch options to be block-level links. - Remove unused markup.
2020-11-10Refs #31672 -- Made technical 500 debug page include exceptions without ↵Hasan Ramezani
tracebacks.
2020-10-28Made small readability improvements.Martin Thoma
2020-10-28Refs #25780 -- Removed redundant status code assertions from tests.Jon Dufresne
2020-10-15Fixed #32105 -- Added template paths as ExceptionReporter class attributes.Aarni Koskela
This allows replacement of the debugging templates without having to copy-paste the `get_traceback_html` and `get_traceback_text` functions into a subclass. Thanks to Nick Pope for review.
2020-10-12Fixed #31674 -- Fixed displaying traceback in technical 500 debug page.Hasan Ramezani
Previously, the technical 500 debug page didn't contain a traceback when the exception chain contained an exception without traceback. Thanks Chris Jerdonek for the report.
2020-10-12Fixed #32087 -- Made technical 500 debug page use HTTPS for sharing traceback.nik258heda
2020-10-01Fixed typo in tests/view_tests/tests/test_debug.py docstring.Thibaud Colas
2020-09-14Fixed #31789 -- Added a new headers interface to HttpResponse.Tom Carrick
2020-09-09Fixed #31962 -- Made SessionMiddleware raise SessionInterrupted when session ↵Hasan Ramezani
destroyed while request is processing.
2020-09-07Fixed #31791 -- Made technical 404 debug page display the tried URL patterns ↵Jon Dufresne
for Http404.
2020-08-26Fixed #31942 -- Made settings cleansing work with dictionary settings with ↵Jeremy Lainé
non-string keys.
2020-07-13Fixed #31674 -- Made technical 500 debug page respect __suppress_context__.Tom Forbes
2020-07-08Refs #30400 -- Improved typography in debug and csrf templates.Jon Dufresne
2020-06-10Fixed #31675 -- Added warning to ExceptionReporter when exception chain has ↵Hasan Ramezani
a cycle.
2020-05-11Refs #30116 -- Simplified regex match group access with Match.__getitem__().Jon Dufresne
The method has been available since Python 3.6. The shorter syntax is also marginally faster.
2020-04-20Capitalized Unicode in docs, strings, and comments.Jon Dufresne
2020-04-15Removed unused __str__() methods in tests models.Author: Mads Jensen
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com>
2020-04-15Fixed #31451 -- Made settings cleansing work with list and tuple settings.Ichlasul Affan
2020-04-09Fixed #30779 -- Improved selection of filenames in technical 500 debug page.Daniel Hahler
2020-02-20Captured logging in DebugViewTests with assertLogs().Jon Dufresne
2020-01-27Refs #30997 -- Removed HttpRequest.is_ajax() usage.Claude Paroz
2020-01-16Fixed #30752 -- Allowed using ExceptionReporter subclasses in error reports.Pavel Lysak
2020-01-10Fixed #23004 -- Added request.META filtering to SafeExceptionReporterFilter.Carlton Gibson
Co-authored-by: Ryan Castner <castner.rr@gmail.com>
2020-01-10Refs #23004 -- Allowed exception reporter filters to customize settings ↵Carlton Gibson
filtering. Thanks to Tim Graham for the original implementation idea. Co-authored-by: Daniel Maxson <dmaxson@ccpgames.com>
2019-12-11Fixed #31080 -- Removed redundant type="text/javascript" attribute from ↵Jon Dufresne
<script> tags.
2019-12-10Fixed #31077 -- Made debug decorators raise TypeError if they're not called.Baptiste Mispelon
Django will raise an error if you forget to call the decorator.
2019-11-18Removed hardcoded pk in view_tests.tests.test_defaults.Tim Graham
2019-11-12Fixed #30405 -- Fixed source code mismatch crash in ExceptionReporter.Hasan Ramezani
2019-11-04Simplified consecutive calls to pathlib.Path.parent.Jon Dufresne
2019-10-29Used more specific unittest assertions in tests.Nick Pope
* assertIsNone()/assertIsNotNone() instead of comparing to None. * assertLess() for < comparisons. * assertIs() for 'is' expressions. * assertIsInstance() for isinstance() expressions. * rounding of assertAlmostEqual() for round() expressions. * assertIs(..., True/False) instead of comparing to True/False. * assertIs()/assertIsNot() for ==/!= comparisons. * assertNotEqual() for == comparisons. * assertTrue()/assertFalse() instead of comparing to True/False.
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.