Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/view_tests/views.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #24733 -- Passed the triggering exception to 40x ↵Claude Paroz2015-05-111-1/+1
| | | | | | error handlers Thanks Tim Graham for the review.
* Fixed #24526 -- Combined django.request/security loggers ↵Tim Graham2015-04-241-1/+1
| | | | | | with the root logger. Thanks Carl Meyer for review.
* 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-201-0/+4
| | | | javascript_catalog per project.
* Fixed #23960 -- Removed http.fix_location_headerClaude Paroz2015-03-181-10/+1
| | | | Thanks Carl Meyer for the report and Tim Graham for the review.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-6/+10
|
* Moved tests for render shortcuts to their own app.Aymeric Augustin2014-11-221-80/+1
|
* Fixed #22756 -- Added view name to technical 404 ↵Julia Matsieva2014-06-301-1/+12
| | | | | | template if Http404 is raised. Thanks Keryn Knight for the suggestion.
* Fixed #18373 - improved handling of Resolver404s from viewsGrzegorz Nosek2014-02-151-1/+1
| | | | | | | | | | | When django.core.urlresolvers.resolve was called from a view, failed and the exception was propagated and rendered by technical_404_response, the URL mentioned on the page was the current URL instead of the URL passed to resolve(). Fixed by using the path attribute from the Resolver404 exception instead of request.path_info. Also cleaned up the exceptions to use standard named parameters instead of stuffing a dict in args[0]
* Fixed #17942 -- Added a JsonResponse class to more ↵Lukasz Balcerzak2014-02-151-1/+13
| | | | | | | easily create JSON encoded responses. Thanks leahculver for the suggestion and Erik Romijn, Simon Charette, and Marc Tamlyn for the reviews.
* Fixing E302 ErrorsJason Myers2013-11-031-0/+32
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Removed unused local variables in tests.Tim Graham2013-10-191-14/+14
|
* Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol2013-10-181-1/+1
|
* Fixed #21098 -- Applied sensitive_post_parameters to ↵Tim Graham2013-09-181-0/+13
| | | | | | MultiValueDict Thanks simonpercivall for the report and bmispelon for the review.
* Fixed #4278 -- Added a dirs parameter to a few functions ↵Berker Peksag2013-09-181-0/+9
| | | | | | | | | | | to override TEMPLATE_DIRS. * django.template.loader.get_template() * django.template.loader.select_template() * django.shortcuts.render() * django.shortcuts.render_to_response() Thanks amcnabb for the suggestion.
* adds fix and test for when a template is not specified ↵Ian Wilson2013-09-061-0/+5
| | | | at all to render(). fixes #21058. by jambonrose and ianawilson
* Unlocalize line numbers and ids in debug 500 view.Ramiro Morales2013-08-131-0/+8
| | | | | | | | | While using USE_L10N, line numbers and IDs were printed as comma (or locale equivalent) separated values. Thanks Kronuz for the report and intial patch. Fixes #20861.
* Fixed #20822 -- Set content type of default error pages ↵Aymeric Augustin2013-08-041-4/+7
| | | | | | to 'text/html'. Thanks Jimmy Song for the patch.
* Removed most of absolute_import importsClaude Paroz2013-07-291-1/+1
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Fixed #6412 -- More details if a template file cannot be ↵Mathijs de Bruin2013-05-211-2/+2
| | | | | | loaded Report more details about template files in loader postmortem.
* Renamed some tests and removed references to ↵Florian Apolloner2013-02-261-0/+266
modeltests/regressiontests.