Commit Graph

376 Commits

Author SHA1 Message Date
Tim Graham ed206a9b99 [2.0.x] Fixed #29055 -- Doc'd that escapejs doesn't make template literals safe.
Backport of f229049d6c from master
2018-01-27 09:41:15 -05:00
Tim Graham 3d144787c9 [2.0.x] Fixed #29002 -- Corrected cached template loader docs about when it's automatically enabled.
Thanks oTree-org for the suggestion.

Backport of 7c00f9fb1c from master
2018-01-11 06:52:58 -05:00
Mariusz Felisiak 07fb89b420
[2.0.x] Updated various links in docs to use HTTPS.
Backport of 7c81b28ebc from master
2018-01-07 14:35:06 +01:00
M Somerville 6dea1b18f3 [2.0.x] Fixed #28891 -- Documented Origin's loader attribute.
Backport of 16bd4964df from master
2017-12-07 12:20:22 -05:00
Sjoerd Job Postmus df41b5a05d Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.
Thanks Aymeric Augustin for shepherding the DEP and patch review.
Thanks Marten Kenbeek and Tim Graham for contributing to the code.
Thanks Tom Christie, Shai Berger, and Tim Graham for the docs.
2017-09-20 18:04:42 -04:00
Tim Graham 2fc5a5bfe3 Removed stray versionadded/changed annotations for 1.10. 2017-09-02 21:47:01 -04:00
Anupam 1f2e4f9cfe Fixed #28190 -- Clarifed how include/extends treat template names. 2017-06-03 08:11:04 -04:00
Philip James 7c9a833301 Fixed #26028 -- Added overriding templates howto. 2017-06-02 18:17:27 -04:00
Tim Graham 0ea321193a Fixed #28239 -- Removed docs for a removed arg of template.Context. 2017-05-25 13:15:12 -04:00
kapil garg 278a09ac1f Fixed #27730 -- Doc'd that template vars created outside a block can't be used in it. 2017-04-26 14:54:57 -04:00
Christoph Schindler 7060f777b0 Fixed outdated TIME_FORMAT in docs/ref/templates/builtins.txt.
The format changed in 22bfc45146.
2017-04-11 12:30:58 -04:00
Carlton Gibson 6b3724fa11 Fixed #27359 -- Made Engine.get_default() return the first DjangoTemplates engine if multiple are defined. 2017-03-31 17:26:42 -04:00
Claude Paroz 6585ebebaa Fixed #27981 -- Doc'd date/time filter l10n changes in refs #25758. 2017-03-27 12:53:03 -04:00
Alasdair Nicol 757aefc12b Removed self from method signatures in docs. 2017-03-16 20:33:59 -04:00
Joon Hwan 김준환 a7214f0e84 Made a sentence in default_if_none docs consistent with other template filters. 2017-02-15 08:39:39 -05:00
Tim Graham 29f607927f Fixed spelling of "nonexistent". 2017-02-03 08:01:45 -05:00
Vytis Banaitis d1bab24e01 Refs #23919, #27778 -- Removed obsolete mentions of unicode. 2017-01-26 08:19:27 -05:00
Tim Graham f6acd1d271 Refs #23919 -- Removed Python 2 notes in docs. 2017-01-18 11:51:29 -05:00
Tim Graham 397b3705c5 Removed settings.TEMPLATES upgrade guide. 2017-01-17 20:52:05 -05:00
Tim Graham e27e4c0339 Removed versionadded/changed annotations for 1.10. 2017-01-17 20:52:05 -05:00
Tim Graham 60ca37d2e5 Refs #24046 -- Removed mark_for_escaping() per deprecation timeline. 2017-01-17 20:52:04 -05:00
Tim Graham 8377abd59e Refs #25120 -- Removed template.loaders.eggs.Loader per deprecation timeline. 2017-01-17 20:52:00 -05:00
Tim Graham 5d8da093a9 Refs #15053 -- Removed support for non-recursive template loading.
Per deprecation timeline.
2017-01-17 20:52:00 -05:00
Tim Graham 92c5eeac33 Fixed #27598 -- Allowed specifying directories for a filesystem template loader.
Thanks Carl Meyer for review.
2016-12-14 10:33:51 -05:00
Jon Dufresne 331ca5391e Fixed #27175 -- Deprecated silencing exceptions from the {% include %} template tag.
Thanks Tim Graham for the review.
2016-09-08 18:24:22 -07:00
Tim Graham 277fe2e8f2 Fixed #25788 -- Enabled the cached template loader if debug is False. 2016-09-03 09:06:33 -04:00
Sergei Maertens 32c02f2a0e Fixed #5908 -- Added {% resetcycle %} template tag.
Thanks to Simon Litchfield for the report, Uninen for the initial
patch, akaihola, jamesp, b.schube, and Florian Appoloner for
subsequent patches, tests, and documentation.
2016-09-01 15:52:21 -04:00
Baptiste Mispelon 61b45dff6b Fixed #27126 -- Made {% regroup %} return a namedtuple to ease unpacking. 2016-08-26 16:59:21 -04:00
Baptiste Mispelon 7968bb7fad Fixed incorrect variable name in {% regroup %} docs. 2016-08-26 16:25:18 -04:00
Tim Graham f8c338ec6a Refs #25854 -- Completed a RequestContext docs example. 2016-08-18 21:11:27 -04:00
Ana Balica 36fbf9b7d1 Removed unnecessary 'just' from docs/ref/templates/api.txt. 2016-07-30 09:26:54 -04:00
Ville Skyttä 7003174fec Fixed #26754 -- Documented django.template.context_processors.tz 2016-06-14 11:57:17 +02:00
Tim Graham 46a38307c2 Removed versionadded/changed annotations for 1.9. 2016-05-20 11:44:29 -04:00
Tim Graham 2f0e0eee45 Fixed #24046 -- Deprecated the "escape" half of utils.safestring. 2016-05-10 12:46:47 -04:00
Vasiliy Faronov 31e0314979 Fixed #26580 -- Updated references to obsolete RFC 2822.
Didn't rename django.utils.feedgenerator.rfc2822_date()
as some external code may rely on it.
2016-05-10 11:24:51 -04:00
Tim Graham f5ff5010cd Fixed #26483 -- Updated docs.python.org links to use Intersphinx. 2016-05-08 18:07:43 -04:00
Vitaly Bogomolov aec4f97555 Fixed #26402 -- Added relative path support in include/extends template tags. 2016-05-07 16:21:57 -04:00
Alasdair Nicol dac075e910 Refs #26479 -- Documented is/is not if tag operator behavior for nonexistent variables. 2016-04-29 12:38:46 -04:00
Tim Graham f945fb24a3 Fixed #26554 -- Updated docs URLs to readthedocs.io 2016-04-28 10:09:57 -04:00
Alasdair Nicol c16b9dd8e0 Fixed #26479 -- Added 'is not' operator to the if tag. 2016-04-09 13:01:15 -04:00
Alasdair Nicol c10db4bd1b Moved docs about chaining if tag comparison operators. 2016-04-09 12:54:59 -04:00
Mounir Messelmeni 03e1cc930c Fixed #26145 -- Made debug context processor return queries for all databases. 2016-04-09 11:47:15 -04:00
inondle 5fb9756eba Fixed #26275 -- Noted difference between o and Y date format chars. 2016-02-27 08:05:12 -05:00
Andrew Kuchev e81d1c995c Fixed #25670 -- Allowed dictsort to sort a list of lists.
Thanks Tim Graham for the review.
2016-02-23 12:15:08 -05:00
rowanv a6ef025dfb Fixed #26124 -- Added missing code formatting to docs headers. 2016-02-01 10:42:05 -05:00
Preston Timmons c00ae7f58c Fixed #26118 -- Added 'is' operator to if template tag. 2016-01-22 15:35:28 -05:00
Elif T. Kus bca9faae95 Fixed #26020 -- Normalized header stylings in docs. 2016-01-22 12:12:17 -05:00
pp b34ff66e5b Added missing period to "etc.". 2016-01-11 18:05:15 -05:00
Marten Kenbeek 16411b8400 Fixed #26013 -- Moved django.core.urlresolvers to django.urls.
Thanks to Tim Graham for the review.
2015-12-31 14:21:29 -05:00
Tim Graham 91cd4d8e8c Removed an extra header in docs/ref/templates/api.txt. 2015-12-23 19:05:09 -05:00