Tom Christie
a32538279c
Tweaked example text in docs/ref/templates/builtins.txt.
2015-11-13 07:38:40 -05:00
Aaron Elliot Ross
19a5f6da32
Fixed #25469 -- Added autoescape option to DjangoTemplates backend.
...
Thanks Aymeric for the initial patch and Carl for review.
2015-11-12 19:14:23 -05:00
Jacek Bzdak
494b7986a3
Fixed #25397 -- Documented class-based view context variable clash with context processors.
2015-10-23 15:18:39 -04:00
Jacek Bzdak
32cd706971
Fixed #25574 -- Documented {{ dict.items }} shadowing in for template tag docs.
2015-10-21 11:43:45 -04:00
Tim Graham
54848a96dd
Removed versionadded/changed annotations for 1.8.
2015-09-23 19:31:11 -04:00
Tim Graham
4811f09fa3
Removed template.loader.BaseLoader per deprecation timeline.
2015-09-23 19:31:11 -04:00
Tim Graham
5e450c52aa
Removed current_app argument to render() and TemplateResponse().
...
Per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
222d063301
Refs #23269 -- Removed the removetags template tag and related functions per deprecation timeline.
2015-09-23 19:31:09 -04:00
Tim Graham
785cc71d5b
Refs #22384 -- Removed the ability to reverse URLs by dotted path per deprecation timeline.
2015-09-23 19:31:09 -04:00
Tim Graham
9a3dfa2a52
Refs #23261 -- Removed old style list syntax for unordered_list filter
...
Per deprecation timeline.
2015-09-23 19:31:09 -04:00
Tim Graham
27b2321793
Refs #24451 -- Removed comma-separated {% cycle %} syntax per deprecation timeline.
2015-09-23 19:31:09 -04:00
Tim Graham
04ee4059d7
Refs #24022 -- Removed the ssi tag per deprecation timeline.
2015-09-23 19:31:09 -04:00
Tim Graham
3af9b70028
Refs #22789 -- Removed contrib.webdesign per deprecation timeline.
2015-09-23 19:31:09 -04:00
Tim Graham
2634f606d5
Fixed #25386 -- Warned about differences between Engine and DjangoTemplates.
2015-09-23 19:16:16 -04:00
Nick Johnson
392f64842f
Fixed #25373 -- Added warning logging for exceptions during {% include %} tag rendering.
2015-09-21 19:57:12 -04:00
Tim Graham
d06014db53
Removed some discussion of deprecated {% url %} behavior.
2015-09-05 11:55:58 -04:00
Tim Graham
47201371d2
Refs #24451 -- Corrected Django version for {% cycle %} deprecation.
2015-08-19 08:37:27 -04:00
Tim Graham
787cc7aa84
Refs #25236 -- Discouraged use of ifequal/ifnotequal template tags.
2015-08-08 08:23:33 -04:00
Tim Graham
7080cef7bf
Corrected some inconsistent headings in docs/ref/templates/builtins.txt.
2015-08-08 08:23:32 -04:00
Claude Paroz
64982cc2fb
Updated Wikipedia links to use https
2015-08-08 12:02:32 +02:00
Tim Graham
87d55081ea
Fixed #25159 -- Removed brackets from class/function/method signatures in docs.
...
Thanks hellbeast for the initial patch.
2015-07-27 10:32:47 -04:00
Tim Graham
1fed8dd715
Fixed #25120 -- Deprecated egg template loader.
2015-07-16 09:32:42 -04:00
Tim Graham
a871cf422d
Fixed #25051 -- Clarified return type of {% now %} tag.
2015-07-04 08:46:49 -04:00
Tim Graham
aaacaeb096
Renamed RemovedInDjangoXYWarnings for new roadmap.
...
Forwardport of ae1d663b79
from stable/1.8.x plus more.
2015-06-24 16:08:20 -04:00
Tim Graham
e11a08ee15
Fixed #24839 -- Removed references to deprecated contrib.webdesign.
2015-05-22 09:39:14 -04:00
Andrei Kulakov
fc3409b093
Fixed #24813 -- Documented {% include %} debug behavior variance
2015-05-21 19:51:41 -04:00
Preston Timmons
655f524915
Fixed #17085 , #24783 -- Refactored template library registration.
...
* Converted the ``libraries`` and ``builtins`` globals of
``django.template.base`` into properties of the Engine class.
* Added a public API for explicit registration of libraries and builtins.
2015-05-21 09:12:06 -05:00
Dave Hodder
08c980d752
Updated capitalization in the word "JavaScript" for consistency
2015-05-01 13:26:42 -04:00
Preston Timmons
8ae04e7630
Added docs for new template loader api.
...
Refs #15053 .
2015-04-22 14:49:22 -05:00
Tim Graham
f47c796b52
Fixed #24657 -- Fixed include template tag example.
...
Thanks pattypatpat for the report.
2015-04-17 07:53:57 -04:00
Tommy Beadle
6bfd864ff2
Fixed #24603 -- Allowed Context.update() to be used as a context manager.
2015-04-14 08:01:16 -04:00
Tim Graham
c612786cf1
Fixed typos in docs/ref/templates/api.txt
2015-04-14 07:58:01 -04:00
Craig Oldford
75bc5bc634
Fixed #12199 -- Added the ability to use "as" with the firstof template tag.
2015-04-14 07:19:47 -04:00
Maxime Lorant
6023312dde
Fixed formatting in docs/ref/templates/builtins.txt
2015-04-14 07:05:23 -04:00
Tim Graham
3acefcefeb
Fixed #24600 -- Fixed inaccurate example in template Context docs.
...
Thanks pattypatpat for the report.
2015-04-08 07:27:39 -04:00
Joost Rijneveld
48ddc66219
Fixed typo in docs/ref/templates/builtins.txt
2015-03-31 21:20:03 -04:00
Preston Timmons
388e79e9fc
Fixed #24493 -- Added BaseContext.setdefault()
2015-03-16 13:13:02 -04:00
Preston Timmons
4d9414098b
Documented Context.get() method.
2015-03-16 13:09:32 -04:00
Preston Timmons
6b605be5fe
Fixed typo in current_app deprecation note.
2015-03-11 12:34:42 -04:00
Tim Graham
c36b60836b
Fixed #24451 -- Deprecated comma-separated {% cycle %} syntax.
2015-03-07 07:42:39 -05:00
Aymeric Augustin
9a4a9a8a49
Improved get_media_prefix template tag example.
2015-03-05 09:14:36 -05:00
Aymeric Augustin
1bfcc950ab
Set context.template instead of context.engine while rendering.
...
This opens more possibilities, like accessing context.template.origin.
It also follows the chain of objects instead of following a shortcut.
2015-02-19 22:08:11 +01:00
Aymeric Augustin
15b711b5ee
Deprecated TEMPLATE_DEBUG setting.
2015-02-15 20:47:04 +01:00
darkryder
9ec8aa5e5d
Fixed #24149 -- Normalized tuple settings to lists.
2015-02-03 14:59:45 -05:00
Tim Graham
c79faae761
Removed versionadded/changed notes for 1.7.
2015-02-01 21:02:40 -05:00
Aymeric Augustin
a3e783fe11
Deprecated passing a Context to a generic Template.render.
...
A deprecation path is required because the return type of
django.template.loader.get_template changed during the
multiple template engines refactor.
test_csrf_token_in_404 was incorrect: it tested the case when the
hardcoded template was rendered, and that template doesn't depend on the
CSRF token. This commit makes it test the case when a custom template is
rendered.
2015-01-12 21:01:34 +01:00
Collin Anderson
26a92619f6
Fixed #24124 -- Changed context_processors in the default settings.py
2015-01-12 13:17:44 -05:00
Tim Graham
28de5cd4de
Fixed spelling errors in docs.
2015-01-11 13:24:13 -05:00
Aymeric Augustin
d89019a84d
Improved template ugrading docs.
...
Recommending Template(template_code) was dumb. Described alternatives.
2015-01-10 21:11:58 +01:00
Aymeric Augustin
f01306a6d8
Updated templates API reference.
...
Accounted for multiple template engines and made a few small fixes.
2015-01-10 20:17:22 +01:00