summaryrefslogtreecommitdiff
path: root/tests/view_tests
AgeCommit message (Collapse)Author
2016-07-24[1.10.x] Fixed #26938 -- Fixed invalid HTML in template postmortem on the ↵Jon Dufresne
debug page. Backport of 348cfccd9072f0e08ffe4cfb3946d1dc6a629e86 from master
2016-07-01[1.10.x] Replaced use of TestCase.fail() with assertRaises().Tim Graham
Also removed try/except/fail antipattern that hides exceptions. Backport of c9ae09addffb839403312131d4251e9d8b454508 from master
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
2015-05-29Refs #23643 -- Fixed debug view regression on Python 2.Luca Ferroni
Thanks Tomáš Ehrlich for help with the patch.
2015-05-20Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette
2015-05-11Fixed #24733 -- Passed the triggering exception to 40x error handlersClaude Paroz
Thanks Tim Graham for the review.
2015-05-06Moved engine-related exceptions to django.template.exceptions.Preston Timmons
With the introduction of multiple template engines these exceptions are no longer DTL-specific. It makes more sense for them to be moved out of DTL-related modules.
2015-04-24Fixed #24526 -- Combined django.request/security loggers with the root logger.Tim Graham
Thanks Carl Meyer for review.
2015-04-22Improved display of template loader postmortem on debug page.Preston Timmons
This now works for multiple Django engines and recursive loaders. Support for non-Django engines is still pending. Refs #15053.
2015-03-24Removed getLogger alias in django.utils.log.Tim Graham
2015-03-20Fixed #22106 -- Allowed using more than one instance of javascript_catalog ↵Moritz Sichert
per project.
2015-03-18Fixed #23960 -- Removed http.fix_location_headerClaude Paroz
Thanks Carl Meyer for the report and Tim Graham for the review.
2015-03-14Fixes #23643 -- Added chained exception details to debug view.Tomáš Ehrlich
2015-03-13Fixed #24122 -- Redirected to translated url after setting languageClaude Paroz
Thanks gbdlin for the initial patch and Tim Graham for the review.
2015-03-09Fixed #24455 -- Fixed crash in debug view with lazy objectsBas Peschier
2015-03-05Converted test fixtures to setUpTestData methodsJosh Smeaton
2015-03-03Fixed #24399 -- Made filesystem loaders use more specific exceptions.Preston Timmons
2015-02-23Normalized usage of the tempfile module.Aymeric Augustin
Specifically stopped using the dir argument.
2015-02-22Fixed #24389 -- Isolated the CSRF view from the TEMPLATES setting.Aymeric Augustin
Thanks uranusjr for the report and analysis.
2015-02-15Deprecated TEMPLATE_DEBUG setting.Aymeric Augustin