Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 3 | -45/+62 |
| | |||||
* | Fixed #31789 -- Added a new headers interface to HttpResponse. | Tom Carrick | 2020-09-14 | 1 | -2/+2 |
| | |||||
* | Refs #25978 -- Removed shortcuts.render_to_response() per deprecation timeline. | Tim Graham | 2019-01-17 | 3 | -85/+1 |
| | |||||
* | Updated test URL patterns to use path() and re_path(). | Tim Graham | 2018-12-31 | 1 | -11/+11 |
| | |||||
* | Fixed #25978 -- Deprecated shorcuts.render_to_response(). | Tim Graham | 2017-02-11 | 2 | -35/+41 |
| | |||||
* | Removed unused view and url from shortcuts tests. | Alasdair Nicol | 2016-04-12 | 2 | -8/+0 |
| | | | The test that used these was removed in 9114fe8adabe626619665c9853ba952798da5530. | ||||
* | Removed support for passing a context to a generic Template.render(). | Tim Graham | 2015-09-23 | 1 | -12/+1 |
| | | | | Per deprecation timeline; refs a3e783fe11dd25bbf84bfb6201186566ed473506. | ||||
* | Removed dictionary and context_instance parameters for render functions. | Tim Graham | 2015-09-23 | 3 | -31/+1 |
| | | | | Per deprecation timeline. | ||||
* | Removed dirs parameter in template engine methods and related funtions. | Tim Graham | 2015-09-23 | 4 | -30/+0 |
| | | | | Per deprecation timeline. | ||||
* | Removed current_app argument to render() and TemplateResponse(). | Tim Graham | 2015-09-23 | 3 | -28/+0 |
| | | | | Per deprecation timeline. | ||||
* | Renamed RemovedInDjangoXYWarnings for new roadmap. | Tim Graham | 2015-06-24 | 1 | -8/+8 |
| | | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. | ||||
* | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | 2015-05-20 | 1 | -2/+2 |
| | |||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 2 | -3/+2 |
| | |||||
* | Fixed #24168 -- Allowed selecting a template engine in a few APIs. | Aymeric Augustin | 2015-02-03 | 5 | -0/+46 |
| | | | | | | | | | | Specifically in rendering shortcuts, template responses, and class-based views that return template responses. Also added a test for render_to_response(status=...) which was missing from fdbfc980. Thanks Tim and Carl for the review. | ||||
* | Fixed #24124 (again) -- Updated tests with new default context_processors. | Aymeric Augustin | 2015-01-12 | 2 | -7/+6 |
| | | | | Thanks Collin for the review. | ||||
* | Restored support for multiple template names in render(_to_response). | Aymeric Augustin | 2015-01-07 | 3 | -0/+32 |
| | | | | | | This possibility was documented but not tested. It had been broken during the multiple template engines refactor. | ||||
* | Applied ignore_warnings to Django tests | Claude Paroz | 2014-12-30 | 1 | -23/+15 |
| | |||||
* | Deprecated TEMPLATE_CONTEXT_PROCESSORS. | Aymeric Augustin | 2014-12-28 | 1 | -1/+0 |
| | |||||
* | Deprecated current_app in TemplateResponse and render(_to_response). | Aymeric Augustin | 2014-12-28 | 1 | -2/+2 |
| | |||||
* | Deprecated some arguments of django.shortcuts.render(_to_response). | Aymeric Augustin | 2014-12-28 | 1 | -5/+15 |
| | | | | | | dictionary and context_instance and superseded by context. Refactored tests that relied context_instance with more modern idioms. | ||||
* | Moved context_processors from django.core to django.template. | Aymeric Augustin | 2014-12-28 | 1 | -1/+1 |
| | |||||
* | Deprecated dirs argument to override TEMPLATE_DIRS. | Aymeric Augustin | 2014-11-23 | 1 | -2/+8 |
| | | | | Cancels 2f0566fa. Refs #4278. | ||||
* | Silenced a flake8 warning. | Berker Peksag | 2014-11-22 | 1 | -0/+1 |
| | | | | ../tests/shortcuts/views.py:45:1: E302 expected 2 blank lines, found 1 | ||||
* | Avoided rewrapping Contexts in render_to_response. | Aymeric Augustin | 2014-11-22 | 3 | -0/+19 |
| | | | | | | | | | | | | | This change preserves backwards-compatibility for a very common misuse of render_to_response which even occurred in the official documentation. It fixes that misuse wherever it happened in the code base and docs. Context.__init__ is documented as accepting a dict and nothing else. Since Context is dict-like, Context(Context({})) could work to some extent. However, things get complicated with RequestContext and that gets in the way of refactoring the template engine. This is the real rationale for this change. | ||||
* | Moved tests for render shortcuts to their own app. | Aymeric Augustin | 2014-11-22 | 6 | -0/+171 |