summaryrefslogtreecommitdiff
path: root/tests/view_tests
AgeCommit message (Collapse)Author
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.
2017-04-12Tested template info in debug view's text tracebackClaude Paroz
2017-04-04Fixed CVE-2017-7234 -- Fixed open redirect vulnerability in ↵Tim Graham
views.static.serve(). This is a security fix.
2017-04-02Removed unused code in i18n view_testsClaude Paroz
Unused since 2b20e4148f4f54431834e6a43af6c39dc75e6362.
2017-03-17Fixed #27948 -- Removed incorrect unquote() in static serving views.Tim Graham
2017-02-17Fixed #27308 -- Fixed BytesWarnings in the test suite.Tim Graham
2017-02-16Fixed #27829 -- Deprecated settings.DEFAULT_CONTENT_TYPE.Tim Graham
2017-02-09Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().Tim Graham
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
Thanks Tim Graham for the review.
2017-02-03Refs #23919 -- Removed a Python 2 code path in force_text().Tim Graham
Reverted the obsolete fix and tests for refs #12302.
2017-02-03Fixed spelling of "nonexistent".Tim Graham
2017-01-27Improved test coverage for conf.urls.static.Anton Samarchyan
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-24Removed unneeded force_text calls in the test suiteClaude Paroz
2017-01-23Replaced dict() usage with dict literals.Jon Dufresne
Literals are faster and more idiomatic.
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 -- 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.PY2/PY3 usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Refs #26601 -- Removed support for old-style middleware using ↵Tim Graham
settings.MIDDLEWARE_CLASSES.
2017-01-17Refs #19567 -- Removed deprecated javascript_catalog() and json_catalog() views.Tim Graham
2016-12-14Fixed #27418 -- Fixed occasional missing plural forms in JavaScriptCatalog.Waldemar Kornewald
2016-12-06Fixed #27567 -- Fixed crash in the debug view when request.user errors.Andreas Pelme
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-10-29Captured logging output during NonDjangoTemplatesDebugViewTests.test_400().Jon Dufresne
2016-10-27Fixed #27373 -- Corrected 404 debug page message for an empty request path.Mariusz Felisiak
2016-10-22Fixed #27374 -- Made JavaScriptCatalog respect the packages argument.Alvin Lindstam
2016-09-16Refs #27025 -- Fixed tests for the new ModuleNotFoundError in Python 3.6.Tim Graham
http://bugs.python.org/issue15767
2016-09-07Fixed #27191 -- Fixed debug view crash for requests with 'items' in ↵Anatoly Burov
GET/POST/COOKIES/FILES.