summaryrefslogtreecommitdiff
path: root/tests/view_tests
AgeCommit message (Collapse)Author
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
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-02-03Fixed #24149 -- Normalized tuple settings to lists.darkryder
2015-01-23Fixed warning leak in static.serve() testClaude Paroz
Partial forward port of b1bf8d64fb from 1.7.x. Refs #24193.
2015-01-14Fixed a static view test on Windows.Tim Graham
2015-01-13Ensured views.static.serve() doesn't use large memory on large files.Tim Graham
This issue was fixed in master by refs #24072.
2015-01-12Made debug views not crash when there isn't a default template engine.Aymeric Augustin
2015-01-12Deprecated passing a Context to a generic Template.render.Aymeric Augustin
A deprecation path is required because the return type of django.template.loader.get_template changed during the multiple template engines refactor. test_csrf_token_in_404 was incorrect: it tested the case when the hardcoded template was rendered, and that template doesn't depend on the CSRF token. This commit makes it test the case when a custom template is rendered.
2014-12-28Deprecated TEMPLATE_DIRS.Aymeric Augustin
2014-12-28Deprecated TEMPLATE_LOADERS.Aymeric Augustin
2014-12-01Fixed selenium test failure of JavascriptI18nTests.Tim Graham
The failure was introduced in dd1ea70779adff294140eddb0229c382e12f32f3. The tests wouldn't start due to a "Dependency on unknown app" error.
2014-11-22Moved tests for render shortcuts to their own app.Aymeric Augustin
2014-11-16Removed override_template_loaders and override_with_test_loader.Aymeric Augustin
They can be replaced with override_settings and that makes the corresponding tests much more obvious.
2014-11-03Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag
2014-08-26Lowered memory consumption in debug ouput testClaude Paroz
2014-08-13Fixed #20368 -- Made TECHNICAL_500 more robust against bad input.Walter Doekes
This limits large variables and avoids non-utf-8 in the TECHNICAL_500 output.
2014-08-12Fixed #23276 -- Deprecated passing views as strings to url().Tim Graham
2014-07-26Fixed code to solve #23070 problemHiroki KIYOHARA
Added a class to wrap callable in settings: * Not to call in the debug page (#21345). * Not to break the debug page if the callable forbidding to set attributes (#23070). Thanks @bmispelon for giving me some advice.
2014-07-26Added test for the #23070 problemHiroki KIYOHARA
2014-07-16Added Chrome/IE support for a selenium test.Tim Graham
2014-07-07Fixed #22909 -- Removed camelCasing in some tests.Tim Graham
Thanks brylie.
2014-06-30Fixed #22756 -- Added view name to technical 404 template if Http404 is raised.Julia Matsieva
Thanks Keryn Knight for the suggestion.
2014-06-24Fixed #21668 -- Return detailed error page when SuspiciousOperation is ↵Anubhav Joshi
raised and DEBUG=True Thanks GDorn and gox21 for report. Thanks Tim Graham for idea and review.
2014-05-25Fixed a few warnings in the testsuite.Florian Apolloner
2014-05-22Fixed #21598 -- cleaned up template loader overrides in testsUnai Zalakain
- Template loader overriding is managed with contexts. - The test loader is a class (function based loaders entered deprecation timeline in 1.4). - Template loader overrider that overrides with test loader added.
2014-05-15Harmonized some PEP 0263 coding preamblesClaude Paroz
2014-04-16Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests.chriscauley
Thanks tomwys for the suggestion.
2014-04-06Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi
2014-04-03Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
2014-03-27Skipped JavascriptI18nTests if Firefox isn't properly configured.Tim Graham
Code borrowed from django.contrib.admin.tests. Without this, the class can throw an exception with something like "The browser appears to have exited before we could connect. The output was: Error: no display specified"
2014-03-03Fixed many typos in comments and docstrings.Rodolfo Carvalho
Thanks Piotr Kasprzyk for help with the patch.
2014-03-01Fixed #15318 -- Added settings for language cookie max-age, path, domainSergey Kolosov
Introduced a number of settings to configure max-age, path, and domain for the language cookie: LANGUAGE_COOKIE_AGE, LANGUAGE_COOKIE_PATH and LANGUAGE_COOKIE_DOMAIN. Thanks sahid for the suggestion.
2014-02-22Fixed #22120 -- Documented persistent activation of languages and cleaned up ↵Erik Romijn
language session key use
2014-02-22Deprecated django.utils.text.javascript_quote.Baptiste Mispelon
Refs #21725.