Marek Wywiał
8274fa60f8
Made the new template.Context.flatten() method a public API.
...
That method was introduced in 9db4271bd1
.
Refs #21765 .
2014-02-16 15:18:45 +01:00
Jeremy
f94f466cd3
Fixed #19496 -- Added truncatechars_html filter.
...
Thanks esevece for the suggestion and Nick Sandford and Martin Warne
for the inital work on the patch.
2014-02-13 10:27:27 -05:00
Tim Graham
dfc092622e
Fixed #21529 -- Noted that {% url %} encodes its output (refs #13260 ).
2014-01-22 10:44:50 -05:00
Tim Graham
bc7668eb51
Fixed #18942 -- Clarified usage of {% get_static_prefix %}.
...
Thanks Aymeric for the suggestion.
2014-01-17 16:06:11 -05:00
Tim Graham
4a5aac47a6
Fixed #13116 -- Described scope of variables created by {% url ... as var %} syntax.
...
Thanks leif_p for the suggestion.
2014-01-17 14:50:47 -05:00
Baptiste Mispelon
1689744aee
Added some internal links to render_to_string documentation.
2013-12-15 23:02:20 +01:00
Baptiste Mispelon
077af42139
Fixed #21515 -- Corrected example of template.Context in documentation.
...
Thanks to trac user oubiga for the report.
2013-11-28 00:57:13 +01:00
Julia Antokhine
3c3be2e8ec
fixed typo in builtins.txt
2013-11-19 12:53:28 -05:00
Baptiste Mispelon
3c4832214f
Fixed another typo introduced by b914991b37
.
...
Thanks Claude for catching it.
2013-11-06 10:22:29 +01:00
Simon Charette
87908b4fc2
Fixed a documentation typo introduced by b914991b37
.
2013-11-05 19:38:46 -05:00
Baptiste Mispelon
b914991b37
Added more tests and documentation for dictsort.
...
It's possible to use something like {{ foo|dictsort:'bar.baz' }}
but this wasn't tested or documented.
2013-11-06 00:26:58 +01:00
Tim Graham
090315f5df
Fixed spelling ("dependant" -> "dependent")
...
Dependent means reliant on.
A dependant is a person like a child or spouse.
Thanks Andrew Wilcox for the report.
2013-11-01 21:29:39 -04:00
Tim Graham
eafe279120
Fixed #21306 -- Documented lower-casing behavior of title filter.
2013-10-30 09:33:28 -04:00
Ramiro Morales
bebb449ac3
Added docs for changes in commit dd3a883894
.
...
Refs #20693 .
2013-09-22 15:43:27 -03:00
Curtis Maloney
43a2ec7999
Fixed #21133 --Clarifed documentation about strftime formatting.
2013-09-21 06:42:11 -04:00
Berker Peksag
2f0566fa61
Fixed #4278 -- Added a dirs parameter to a few functions to override TEMPLATE_DIRS.
...
* django.template.loader.get_template()
* django.template.loader.select_template()
* django.shortcuts.render()
* django.shortcuts.render_to_response()
Thanks amcnabb for the suggestion.
2013-09-18 07:37:08 -04:00
Goetz
39b49fd339
Fixed #21101 -- Updated urlize documentation to mention email addresses
2013-09-13 12:42:06 -04:00
Preston Timmons
8625c7aab3
Fixed #16096 -- Added origin attribute to template instances.
...
Thanks jdunck for the suggestion.
2013-09-06 09:14:52 -04:00
Paul C. Anagnostopoulos
1ccdc08189
Clarified docs for some tags and filters
2013-09-04 12:32:05 -04:00
Curtis Maloney
5cdacbda03
Fixed #17356 -- Allowed {% include %} to render compiled templates
...
Reviewed by Loic Bistuer and Tim Graham.
2013-08-29 10:22:24 +03:00
Tim Graham
7b69c3e775
Removed versionadded/changed annotations for 1.5
2013-08-19 09:09:41 -04:00
Jonathan Slenders
ff410565bf
Fixed #20709 -- Allowed {% widthratio %} to accept an "as" parameter.
...
Thanks clay.evil@ for the suggestion.
2013-08-14 12:40:19 -04:00
Dominic Rodger
c33d1ca1d9
Fixed #20852 - Fixed incorrectly generated left quotes in docs.
...
Sphinx generates left single quotes for apostrophes after
code markup, when right single quotes are required. The
easiest way to fix this is just by inserting the unicode
character for a right single quote.
Instances of the problem were found by looking for
">‘" in the generated HTML.
2013-08-06 07:13:17 -04:00
Curtis Maloney
a3e7d73ed7
Allowed Context.push to behave as a context mananger.
...
Thanks Loic Bistuer for the review.
2013-07-17 13:32:32 -04:00
Tim Graham
862a04a56d
Fixed some markup in docs/ref/templates/api.txt
2013-07-15 11:31:06 -04:00
Baptiste Darthenay
39b245fd76
Fixed #20614 -- Typo in documentation.
2013-06-17 11:35:07 +02:00
Claude Paroz
bf9975b0eb
Fixed #20606 -- Fixed 'for' example in template tag docs
...
Thanks batisteo for the report.
2013-06-15 12:02:25 +02:00
Gavin Wahl
e6ff238431
Fixed regroup example.
...
Chicago was missing.
2013-05-29 21:46:58 -04:00
Silvan Spross
7264e5c661
Add missing imports and models to the examples in the template layer documentation
2013-05-19 13:29:38 +02:00
Aymeric Augustin
ce45240df4
Fixed #20336 -- Removed obsolete paragraph from the docs.
...
Thanks Baptiste Mispelon.
2013-04-30 21:40:16 +02:00
Thomas Thurman
b47b0211f5
Corrected "it's" to "its" when used possessively.
...
Fixed #20327 .
2013-04-29 17:21:37 +02:00
Juan Catalano
78c842a323
Adapted uses of versionchanged/versionadded to the new form.
...
Refs #20104 .
2013-04-20 17:18:35 +02:00
Andrew Brown
17be12df47
Removed a trailing space in the template name on line 174.
...
This trailing space may seem innocuous, but can be easily copied-and-pasted from the docs.
This can lead to bizarre File Not Found errors where the checked paths look correct, but actually aren't because
the trailing space is hard to see in an error message.
2013-04-05 01:52:12 -04:00
Claude Paroz
2bcbca3451
Updated some 'Dive Into Python' links
2013-04-01 14:04:41 +02:00
Tim Graham
6c730da1f6
Fixed #19897 - Updated static files howto.
...
Thanks Jan Murre, Reinout van Rees and Wim Feijen,
plus Remco Wendt for reviewing.
2013-03-29 19:15:19 -04:00
Vladimir A Filonov
f49e9a517f
Fixed #17906 - Autoescaping {% cycle %} and {% firstof %} templatetags.
...
This commit adds "future" version of these two tags with auto-escaping
enabled.
2013-02-23 16:16:39 +01:00
Tim Graham
9b5f64cc6e
Fixed #19516 - Fixed remaining broken links.
...
Added -n to sphinx builds to catch issues going forward.
2013-01-02 18:32:57 -05:00
Aymeric Augustin
7ee7599ab3
Removed versionadded/changed annotations dating back to 1.4.
2012-12-29 21:59:08 +01:00
Aymeric Augustin
ebd2598596
Removed django.contrib.markup.
2012-12-29 21:59:07 +01:00
Tim Graham
b3a8c9dab8
Fixed broken links, round 3. refs #19516
2012-12-26 19:07:22 -05:00
Tim Graham
6534a95ac3
Fixed #19470 - Clarified widthratio example.
...
Thanks orblivion for the suggestion.
2012-12-18 08:20:01 -05:00
Claude Paroz
0eeae15056
Fixed #19354 -- Do not assume usermodel.pk == usermodel.id
...
Thanks markteisman at hotmail.com for the report.
2012-11-29 21:45:43 +01:00
Aymeric Augustin
f89901dc05
Fixed two typos.
2012-11-25 19:31:53 +01:00
Aymeric Augustin
d266919584
Fixed #19280 -- Raised an explicit exception for the old {% url %} syntax.
2012-11-24 22:10:51 +01:00
Tim Graham
63e6cd1bb3
Fixed #19348 - Clarified the units of filesizeformat.
...
Thanks george_edison for the report and Claude Paroz for the patch.
2012-11-23 07:00:08 -05:00
Tim Graham
2564e31014
Fixed #19308 - Clarified stringformat filter example
...
Thanks Shabda Raaj.
2012-11-17 19:29:31 -05:00
Daniel Greenfeld
3f65f751a0
Converted <paragraph> to <p> per #aaugustin's request
2012-11-12 16:12:27 -08:00
Daniel Greenfeld
1db5d88273
Added examples for comment, templatetag, escape, force_escape, timesince, and timeuntil
2012-11-08 16:35:39 -08:00
Preston Holmes
2cb48fffd4
Removed redundant docs addition across two commits
...
d5c3c45f2f
a70492e6b5
2012-11-04 19:12:44 -08:00
Bryan Veloso
79a484fc8e
Merge pull request #496 from pydanny/ticket_19241
...
Demonstrate how to round to integers using floatformat templatetag
2012-11-04 18:19:56 -08:00