Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/view_tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixed "URLconf" spelling in code comments.Tim Graham2015-10-221-2/+2
|
* Fixed #25037 -- Added request.user to the debug view.John Moses2015-10-051-0/+12
|
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-1/+5
|
* Fixed #25099 -- Fixed crash in AdminEmailHandler on ↵Vlastimil Zíma2015-09-041-0/+16
| | | | DisallowedHost.
* Fixed #22404 -- Added a view that exposes i18n catalog ↵Sergey Kolosov2015-08-052-0/+30
| | | | | | | | as a JSON Added django.views.i18n.json_catalog() view, which returns a JSON response containing translations, formats, and a plural expression for the specified language.
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-1/+1
| | | | on_delete for ForeignKey/OneToOneField
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-241-1/+1
| | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
* Fixed #21927 -- Made application and instance namespaces ↵Marten Kenbeek2015-06-081-2/+2
| | | | | | | | more distinct. 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.
* Ref #23643 -- Added plain text report of exception chain.Tomáš Ehrlich2015-06-011-2/+5
|
* Refs #23643 -- Fixed debug view regression on Python 2.Luca Ferroni2015-05-291-1/+24
| | | | Thanks Tomáš Ehrlich for help with the patch.
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-205-17/+18
|
* Fixed #24733 -- Passed the triggering exception to 40x ↵Claude Paroz2015-05-114-8/+14
| | | | | | error handlers Thanks Tim Graham for the review.
* Moved engine-related exceptions to ↵Preston Timmons2015-05-071-1/+1
| | | | | | | | django.template.exceptions. 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.
* Fixed #24526 -- Combined django.request/security loggers ↵Tim Graham2015-04-242-4/+5
| | | | | | with the root logger. Thanks Carl Meyer for review.
* Improved display of template loader postmortem on debug ↵Preston Timmons2015-04-221-1/+1
| | | | | | | | | page. This now works for multiple Django engines and recursive loaders. Support for non-Django engines is still pending. Refs #15053.
* Removed getLogger alias in django.utils.log.Tim Graham2015-03-241-2/+2
|
* Fixed #22106 -- Allowed using more than one instance of ↵Moritz Sichert2015-03-204-1/+47
| | | | javascript_catalog per project.
* Fixed #23960 -- Removed http.fix_location_headerClaude Paroz2015-03-184-26/+5
| | | | Thanks Carl Meyer for the report and Tim Graham for the review.
* Fixes #23643 -- Added chained exception details to debug ↵Tomáš Ehrlich2015-03-142-0/+45
| | | | view.
* Fixed #24122 -- Redirected to translated url after ↵Claude Paroz2015-03-134-0/+27
| | | | | | setting language Thanks gbdlin for the initial patch and Tim Graham for the review.
* Fixed #24455 -- Fixed crash in debug view with lazy objectsBas Peschier2015-03-101-0/+31
|
* Converted test fixtures to setUpTestData methodsJosh Smeaton2015-03-052-77/+32
|
* Fixed #24399 -- Made filesystem loaders use more ↵Preston Timmons2015-03-031-31/+0
| | | | specific exceptions.
* Normalized usage of the tempfile module.Aymeric Augustin2015-02-231-8/+8
| | | | Specifically stopped using the dir argument.
* Fixed #24389 -- Isolated the CSRF view from the ↵Aymeric Augustin2015-02-221-1/+12
| | | | | | TEMPLATES setting. Thanks uranusjr for the report and analysis.
* Deprecated TEMPLATE_DEBUG setting.Aymeric Augustin2015-02-151-2/+1
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-069-22/+25
|
* Fixed #24149 -- Normalized tuple settings to lists.darkryder2015-02-033-9/+13
|
* Fixed warning leak in static.serve() testClaude Paroz2015-01-231-0/+1
| | | | Partial forward port of b1bf8d64fb from 1.7.x. Refs #24193.
* Fixed a static view test on Windows.Tim Graham2015-01-141-1/+2
|
* Ensured views.static.serve() doesn't use large memory on ↵Tim Graham2015-01-132-1/+10
| | | | | | large files. This issue was fixed in master by refs #24072.
* Made debug views not crash when there isn't a default ↵Aymeric Augustin2015-01-121-0/+30
| | | | template engine.
* Deprecated passing a Context to a generic Template.render.Aymeric Augustin2015-01-121-3/+12
| | | | | | | | | | | 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.
* Deprecated TEMPLATE_DIRS.Aymeric Augustin2014-12-281-3/+12
|
* Deprecated TEMPLATE_LOADERS.Aymeric Augustin2014-12-282-23/+35
|
* Fixed selenium test failure of JavascriptI18nTests.Tim Graham2014-12-011-2/+5
| | | | | The failure was introduced in dd1ea70779adff294140eddb0229c382e12f32f3. The tests wouldn't start due to a "Dependency on unknown app" error.
* Moved tests for render shortcuts to their own app.Aymeric Augustin2014-11-225-166/+1
|
* Removed override_template_loaders and ↵Aymeric Augustin2014-11-162-7/+12
| | | | | | | override_with_test_loader. They can be replaced with override_settings and that makes the corresponding tests much more obvious.
* Fixed #23620 -- Used more specific assertions in the ↵Berker Peksag2014-11-031-2/+2
| | | | Django test suite.
* Lowered memory consumption in debug ouput testClaude Paroz2014-08-261-2/+2
|
* Fixed #20368 -- Made TECHNICAL_500 more robust against ↵Walter Doekes2014-08-131-0/+46
| | | | | | bad input. This limits large variables and avoids non-utf-8 in the TECHNICAL_500 output.
* Fixed #23276 -- Deprecated passing views as strings to ↵Tim Graham2014-08-123-7/+10
| | | | url().
* Fixed code to solve #23070 problemHiroki KIYOHARA2014-07-261-1/+16
| | | | | | | | 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.
* Added test for the #23070 problemHiroki KIYOHARA2014-07-261-0/+15
|
* Added Chrome/IE support for a selenium test.Tim Graham2014-07-161-0/+8
|
* Fixed #22909 -- Removed camelCasing in some tests.Tim Graham2014-07-081-6/+6
| | | | Thanks brylie.
* Fixed #22756 -- Added view name to technical 404 ↵Julia Matsieva2014-06-303-1/+26
| | | | | | template if Http404 is raised. Thanks Keryn Knight for the suggestion.
* Fixed #21668 -- Return detailed error page when ↵Anubhav Joshi2014-06-241-0/+5
| | | | | | | | SuspiciousOperation is raised and DEBUG=True Thanks GDorn and gox21 for report. Thanks Tim Graham for idea and review.
* Fixed a few warnings in the testsuite.Florian Apolloner2014-05-251-0/+1
|
* Fixed #21598 -- cleaned up template loader overrides in ↵Unai Zalakain2014-05-232-21/+8
| | | | | | | | | tests - 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.