summaryrefslogtreecommitdiff
path: root/tests/view_tests
AgeCommit message (Collapse)Author
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.
2016-08-19Refs #26902 -- Protected against insecure redirects in set_language().Przemysław Suliga
2016-08-10Fixed #26973 -- Fixed views.static.serve() crash with show_indexes enabled.Tim Graham
2016-07-24Fixed #26938 -- Fixed invalid HTML in template postmortem on the debug page.Jon Dufresne
2016-06-28Replaced use of TestCase.fail() with assertRaises().Tim Graham
Also removed try/except/fail antipattern that hides exceptions.
2016-06-24Refs #17209 -- Added LoginView and LogoutView class-based viewsClaude Paroz
Thanks Tim Graham for the review.
2016-05-17Refs #26601 -- Deprecated old-style middleware.Tim Graham
2016-05-17Fixed #26601 -- Improved middleware per DEP 0005.Florian Apolloner
Thanks Tim Graham for polishing the patch, updating the tests, and writing documentation. Thanks Carl Meyer for shepherding the DEP.
2016-04-15Fixed #19567 -- Added JavaScriptCatalog and JSONCatalog class-based viewsClaude Paroz
Thanks Cristiano Coelho and Tim Graham for the reviews.
2016-04-09Fixed #26466 -- Added HTTP_REFERER decoding to i18n set_language() view.Miikka Salminen
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-03-29Fixed #21446 -- Allowed not performing redirect in set_language viewKrzysztof Jurewicz
Thanks Claude Paroz and Tim Graham for polishing the patch.
2016-03-15Fixed #25364 -- Added generic way to test on all browsers supported by selenium.Akshesh
Browser names should be passed as a comma separated list to the --selenium flag. Thanks Tim Graham, Simon Charette and Moritz Sichert for review and discussion.
2016-03-08Refs #26319 -- Added test for English variant in javascript_catalogClaude Paroz
2016-03-08Reused the DjangoTranslation class for the javascript_catalog viewClaude Paroz
Thanks Tim Graham and Cristiano Coelho for the reviews. Refs #26328, #26319.
2016-02-19Fixed #25653 -- Made --selenium run only the selenium tests.Akshesh
2016-02-11Fixed #26209 -- Masked sensitive settings in debug reports regardless of case.François Freitag
2016-02-08Made @override_settings(ROOT_URLCONF=...) consistent.Tim Graham
2016-02-06Fixed #26175 -- Removed SHA1 password hashes in tests.Tim Graham
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2016-01-14Fixed #25697 -- Made default error views error when passed a nonexistent ↵Iacopo Spalletti
template_name.
2016-01-11Fixed #25385 -- Allowed importing views.generic.View from views.View.Varun Sharma
2016-01-06Refs #26048 -- Fixed a flaky i18n selenium test: test_javascript_gettext.Tim Graham
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
Thanks to Tim Graham for the review.
2015-12-23Refs #25969 -- Replaced usage of render_to_response() with render() in tests.Tim Graham
2015-11-21Fixed #25780 -- Removed redundant status code assertions from testsAlex Morozov
2015-11-17Fixed #25695 -- Added template_name parameter to csrf_failure() view.Raphael Michel
2015-11-17Removed obsolete comments about Django 1.10 in two test files.Tim Graham
2015-10-22Fixed "URLconf" spelling in code comments.Tim Graham
2015-10-05Fixed #25037 -- Added request.user to the debug view.John Moses
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-09-04Fixed #25099 -- Fixed crash in AdminEmailHandler on DisallowedHost.Vlastimil Zíma
2015-08-05Fixed #22404 -- Added a view that exposes i18n catalog as a JSONSergey Kolosov
Added django.views.i18n.json_catalog() view, which returns a JSON response containing translations, formats, and a plural expression for the specified language.
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-06-24Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham
Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
2015-06-08Fixed #21927 -- Made application and instance namespaces more distinct.Marten Kenbeek
Made URL application namespaces be set in the included URLconf and instance namespaces in the call to include(). Deprecated other ways to set application and instance namespaces.
2015-06-01Ref #23643 -- Added plain text report of exception chain.Tomáš Ehrlich