summaryrefslogtreecommitdiff
path: root/django/shortcuts.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #25978 -- Deprecated shorcuts.render_to_response().Tim Graham2017-02-111-0/+8
|
* Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.Vytis Banaitis2017-02-011-6/+2
|
* Refs #23919 -- Removed six.<various>_types usageClaude Paroz2017-01-181-2/+1
| | | | Thanks Tim Graham and Simon Charette for the reviews.
* Fixed #10532 -- Relaxed hard-type checking in get_object/list_or_404 shortcutsClaude Paroz2016-03-291-22/+22
| | | | Thanks Anssi Kääriäinen for the patch suggestion, and Tim Graham for the review.
* Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek2015-12-311-7/+7
| | | | Thanks to Tim Graham for the review.
* Removed dictionary and context_instance parameters for render functions.Tim Graham2015-09-231-41/+5
| | | | Per deprecation timeline.
* Removed dirs parameter in template engine methods and related funtions.Tim Graham2015-09-231-7/+5
| | | | Per deprecation timeline.
* Removed current_app argument to render() and TemplateResponse().Tim Graham2015-09-231-21/+2
| | | | 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 few APIs.Aymeric Augustin2015-02-031-6/+10
| | | | | | | | | | 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 redirect_to_loginClaude Paroz2015-01-101-0/+7
| | | | | | 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 render(_to_response).Aymeric Augustin2015-01-071-2/+3
| | | | | | This possibility was documented but not tested. It had been broken during the multiple template engines refactor.
* Deprecated current_app in TemplateResponse and render(_to_response).Aymeric Augustin2014-12-281-1/+14
|
* Deprecated some arguments of django.shortcuts.render(_to_response).Aymeric Augustin2014-12-281-21/+32
| | | | | | dictionary and context_instance and superseded by context. Refactored tests that relied context_instance with more modern idioms.
* Simplified implementation of django.shortcuts.render(_to_response).Aymeric Augustin2014-12-281-19/+16
| | | | *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 better place.Tim Graham2014-02-151-0/+6
| | | | Thanks apollo13: "reverse() shouldn't know about absolute/relative paths."
* Changed shortcuts from being a package to just being a moduleAlex Gaynor2013-11-191-0/+162