1
0
mirror of https://github.com/django/django.git synced 2025-03-25 00:30:45 +00:00

240 Commits

Author SHA1 Message Date
Preston Timmons
eaf86858d4 [1.7.x] Documented Context.get() method.
Backport of 4d9414098bd98aacd241827a01f6ad2dff71f113 from master
2015-03-16 13:13:57 -04:00
Aymeric Augustin
5de18e50dc [1.7.x] Improved get_media_prefix template tag example.
Backport of 9a4a9a8a49ed3e38f3038b8d6fc7c405256271f1 from master
2015-03-05 10:00:11 -05:00
Markus Holtermann
a38951948a [1.7.x] Fixed display of lists after website redesign
Thanks Brian Jacobel for the report. refs django/djangoproject.com#197

Backport of c7786550c4ed396b8580db58f7da60e850894d19 from master
2014-12-17 08:24:27 -05:00
Berker Peksag
c3b101fae5 [1.7.x] Fixed versionchanged indentation in docs/.
Backport of 5c517ec218 from master
2014-11-03 21:43:21 -05:00
Tim Graham
f2de562235 [1.7.x] Fixed #23736 -- Corrected the description of the value that silent_variable_failure uses.
Thanks Aymeric Augustin for the report.

Backport of e7cb4f2fba from master
2014-10-30 18:44:51 -04:00
Tim Graham
01119c9c0f [1.7.x] Fixed #23737 -- Recommended the render() shortcut more strongly.
Thanks Aymeric Augustin for the report.

Backport of f85fcc75e3 from master
2014-10-30 18:35:15 -04:00
David Hoffman
d9bb7128fe [1.7.x] Fixed #23558 -- documented slugify limitations
Backport of 03467368db from master
2014-10-30 09:08:01 -04:00
mcgeeco
b729ef0bda [1.7.x] Fixed #12008 -- Clarified relationship between template blocks and includes.
Thanks Daniele Procida for suggested wording.

Backport of 80b8d3bee0 from master
2014-10-16 10:54:35 -04:00
Duane Hilton
f0e7a695f5 [1.7.x] Fixed #17638 -- Added crosslinks between topic and reference guides.
Thanks oinopion for the suggestion and jarus for the initial patch.

Backport of 054bdfeff1 from master
2014-09-29 18:17:13 -04:00
Joseph Dougherty
722516536e [1.7.x] Fixed #23499 -- Error in built-in template tag "now" documentation
Backport of ab8248361e0a7b4fc7684eaaa5891e16b8562683 from master.
2014-09-17 09:23:20 +02:00
Tim Graham
34116ad71c [1.7.x] Fixed #17719 -- Documented that template syntax sequences cannot be used as string literals.
Backport of e02f45d5ea from master
2014-08-26 10:45:18 -04:00
Tim Graham
5f54752b9d [1.7.x] Fixed some doc errors that caused syntax highlighting to fail.
Backport of 27fdac97ae from master
2014-08-18 20:40:41 -04:00
Tim Graham
9a51270dba [1.7.x] Added a warning that remove_tags() output shouldn't be considered safe.
Backport of 7efce77de2 from master
2014-08-11 07:09:34 -04:00
Bryce Nesbitt
cb3266c1b0 [1.7.x] Fixed #22753 -- Documented ability to use a note with the {% comment %} tag.
Backport of e020894470 from master
2014-06-02 18:52:55 -04:00
Moritz
bd45139d4e [1.7.x] Fixed #22167 -- Improved documentation on context processors
Backport of e7ffba8f78849fbf60b98fb8d67ef4577b585e3b from master.
2014-05-16 18:27:55 +02:00
Claude Paroz
79e4a189f3 [1.7.x] Updated the messages context processor docs
Refs #20610.
Backport of 7951f125e frmo master.
2014-05-06 20:39:13 +02:00
Claude Paroz
e441cebce3 [1.7.x] Updated doc links to point to Python 3 documentation
Backport of 680a0f08b from master.
2014-04-26 16:03:40 +02:00
Claude Paroz
80f08dbdbc [1.7.x] Improved strip_tags and clarified documentation
The fact that strip_tags cannot guarantee to really strip all
non-safe HTML content was not clear enough. Also see:
https://www.djangoproject.com/weblog/2014/mar/22/strip-tags-advisory/
Backport of 6ca6c36f82b from master.
2014-03-22 11:01:14 +01:00
Rodolfo Carvalho
2b6436e2d5 Fixed some typos and formatting issues in docs. 2014-03-03 08:37:17 -05:00
Erik Romijn
775975f15d Fixed #22130 -- Deprecated fix_ampersands, removed utils.clean_html() 2014-03-01 14:07:57 +01:00
Tim Graham
7f2505ad9e Fixed doc typos. 2014-02-28 11:44:03 -05:00
Baptiste Mispelon
072fb923e1 Fixed #21881 -- Clarify behavior of {% ssi %} template tag.
When using the `parsed` option, {% ssi %} has the same limitation
as {% include %}, namely that the rendering of the included
template is done separately.

Thanks to trac user nagyv for the report and to alextreme for
the patch.
2014-02-23 12:00:24 +01:00
Marek Wywiał
8274fa60f8 Made the new template.Context.flatten() method a public API.
That method was introduced in 9db4271bd11ac23a5a5652bbcdf8fb6d4b997651.

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 b914991b3705cb6c91013d962c55cda9deb18d83.
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