Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/shortcuts.py
Commit message (Collapse)AuthorAgeFilesLines
* Removed dictionary and context_instance parameters for ↵Tim Graham2015-09-241-41/+5
| | | | | | render functions. Per deprecation timeline.
* Removed dirs parameter in template engine methods and ↵Tim Graham2015-09-241-7/+5
| | | | | | related funtions. Per deprecation timeline.
* Removed current_app argument to render() and ↵Tim Graham2015-09-241-21/+2
| | | | | | TemplateResponse(). Per deprecation timeline.
* Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant2015-08-311-1/+0
|
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-241-3/+3
| | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
* Fed tuples to startswith when appropriateClaude Paroz2015-03-131-1/+1
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-7/+9
|
* Fixed #24168 -- Allowed selecting a template engine in a ↵Aymeric Augustin2015-02-031-6/+10
| | | | | | | | | | | | few APIs. 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 #24097 -- Prevented AttributeError in ↵Claude Paroz2015-01-101-0/+7
| | | | | | | | redirect_to_login Thanks Peter Schmidt for the report and the initial patch. Thanks to ​Oktay Sancak for writing the original failing test and Alvin Savoy for supporting contributing back to the community.
* Restored support for multiple template names in ↵Aymeric Augustin2015-01-071-2/+3
| | | | | | | | render(_to_response). This possibility was documented but not tested. It had been broken during the multiple template engines refactor.
* Deprecated current_app in TemplateResponse and ↵Aymeric Augustin2014-12-281-1/+14
| | | | render(_to_response).
* Deprecated some arguments of ↵Aymeric Augustin2014-12-281-21/+32
| | | | | | | | django.shortcuts.render(_to_response). dictionary and context_instance and superseded by context. Refactored tests that relied context_instance with more modern idioms.
* Simplified implementation of ↵Aymeric Augustin2014-12-281-19/+16
| | | | | | django.shortcuts.render(_to_response). *args, **kwargs brought more confusion than concision.
* Supported multiple template engines in render_to_string.Aymeric Augustin2014-12-281-3/+15
| | | | Adjusted its API through a deprecation path according to the DEP.
* Moved relative URL handling added in refs #21177 to a ↵Tim Graham2014-02-151-0/+6
| | | | | | better place. Thanks apollo13: "reverse() shouldn't know about absolute/relative paths."
* Changed shortcuts from being a package to just being a ↵Alex Gaynor2013-11-201-0/+162
module