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
Johannes Hoppe
cf546e11ac
Fixed #21221 -- Made form Media and static template tag use staticfiles if installed.
2015-12-10 14:30:19 -05:00
Tim Graham
890938e756
Removed redundant highlight/code-block directives in docs/ref/templates/builtins.txt.
2015-12-09 09:54:42 -05:00
Jon Dufresne
7aabd62380
Fixed #25778 -- Updated docs links to use https when available.
2015-12-01 08:01:34 -05:00
Alex Morozov
5abed864ee
Fixed #25710 -- Clarified the docs about what INTERNAL_IPS does.
2015-11-17 10:16:29 -05:00
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
Aymeric Augustin
3d495cfd77
Added release notes and upgrade instructions for templates.
2015-01-10 20:17:20 +01:00
Aymeric Augustin
ee8d5b91e9
Wrote main documentation for templates.
2015-01-10 20:16:19 +01:00
Aymeric Augustin
6c392bb2c0
Moved doc on the DTL's syntax to the ref/ section.
...
This makes room for a more general introduction about templating.
Updated some links to point to the new location, but kept those that
didn't talk specifically about the DTL.
2015-01-10 19:41:14 +01:00
Preston Timmons
de9ebdd39c
Fixed #24022 -- Deprecated the ssi tag.
2015-01-05 19:35:02 -05:00
Aymeric Augustin
9eb4f28e89
Deprecated TEMPLATE_CONTEXT_PROCESSORS.
2014-12-28 17:02:31 +01:00
Aymeric Augustin
d3205e3e2e
Deprecated TEMPLATE_DIRS.
2014-12-28 17:02:30 +01:00
Aymeric Augustin
cf0fd65ed4
Deprecated TEMPLATE_LOADERS.
2014-12-28 17:02:30 +01:00
Aymeric Augustin
d3a982556d
Deprecated TEMPLATE_STRING_IF_INVALID.
2014-12-28 17:02:30 +01:00
Aymeric Augustin
3dc01aaaaf
Deprecated ALLOWED_INCLUDE_ROOTS.
2014-12-28 17:02:30 +01:00
Aymeric Augustin
92e8f1f302
Moved context_processors from django.core to django.template.
2014-12-28 17:00:07 +01:00
Aymeric Augustin
90805b240f
Supported multiple template engines in render_to_string.
...
Adjusted its API through a deprecation path according to the DEP.
2014-12-28 16:23:02 +01:00
Claude Paroz
0a4b04fc23
Used https for most *.python.org links
2014-12-19 18:07:52 +01:00
Markus Holtermann
c7786550c4
Fixed display of lists after website redesign
...
Thanks Brian Jacobel for the report. refs django/djangoproject.com#197
2014-12-17 08:24:00 -05:00
Baptiste Mispelon
c335c0fee9
Fixed #23914 -- Improved {% now %} to allow storing its result in the context.
...
Thanks to Tim for the review.
2014-11-25 22:11:35 +01:00
Aymeric Augustin
17012b6936
Deprecated dirs argument to override TEMPLATE_DIRS.
...
Cancels 2f0566fa
. Refs #4278 .
2014-11-23 09:29:33 +01:00
Preston Timmons
536795f79a
Fixed #23849 -- Documented the locmem.Loader class.
2014-11-18 21:17:17 -07:00
Aymeric Augustin
2577ae6a08
Moved all template loaders under django.template.loaders.
...
Reformatted the code of base.Loader according to modern standards.
Turned the test template loader into a regular locmem.Loader -- but
didn't document it.
Added a normal deprecation path for BaseLoader which is a public API.
Added an accelerated deprecation path for TestTemplateLoader which is
a private API.
2014-11-16 21:28:26 +01:00
Berker Peksag
5c517ec218
Fixed versionchanged indentation in docs/.
2014-11-03 21:40:26 -05:00
Thomas Chaumeny
d3db878e4b
Moved CSRF docs out of contrib.
2014-11-03 07:47:39 -05:00
Tim Graham
e7cb4f2fba
Fixed #23736 -- Corrected the description of the value that silent_variable_failure uses.
...
Thanks Aymeric Augustin for the report.
2014-10-30 18:42:54 -04:00
Tim Graham
f85fcc75e3
Fixed #23737 -- Recommended the render() shortcut more strongly.
...
Thanks Aymeric Augustin for the report.
2014-10-30 18:34:10 -04:00
David Hoffman
03467368db
Fixed #23558 -- documented slugify limitations
2014-10-30 09:02:04 -04:00
Ralph Broenink
3a34e45fdb
Fixed firstof docs error introduced in 1ea44a; refs #17906 .
2014-10-21 09:08:27 -04:00
mcgeeco
80b8d3bee0
Fixed #12008 -- Clarified relationship between template blocks and includes.
...
Thanks Daniele Procida for suggested wording.
2014-10-16 10:53:17 -04:00
Duane Hilton
054bdfeff1
Fixed #17638 -- Added crosslinks between topic and reference guides.
...
Thanks oinopion for the suggestion and jarus for the initial patch.
2014-09-29 18:06:31 -04:00
Ola Sitarska
b9b8895acb
Fixed #23527 -- Removed Cheetah references in docs
...
Thanks to @aaugustin for submitting the ticket.
2014-09-21 18:03:31 +02:00
Joseph Dougherty
ab8248361e
Fixed #23499 -- Error in built-in template tag "now" documentation
2014-09-17 09:21:33 +02:00
Aymeric Augustin
9562ffea97
Avoid the word "stupid".
...
There's always a better word.
2014-09-09 20:55:57 +02:00
Bas Peschier
eacf244506
Converted sql_queries into a lazily evaluated list.
...
Fixed #23364 . Thanks Markush2010 for the report.
2014-08-30 13:27:56 +02:00
Tim Graham
e02f45d5ea
Fixed #17719 -- Documented that template syntax sequences cannot be used as string literals.
2014-08-26 10:40:12 -04:00
Tim Graham
9432f1e750
Fixed some doc errors that caused syntax highlighting to fail.
2014-08-18 20:37:47 -04:00
Tim Graham
e122facbd8
Fixed #23269 -- Deprecated django.utils.remove_tags() and removetags filter.
...
Also the unused, undocumented django.utils.html.strip_entities() function.
2014-08-15 08:20:02 -04:00
Tim Graham
7efce77de2
Added a warning that remove_tags() output shouldn't be considered safe.
2014-08-11 07:08:17 -04:00
Jaap Roes
e92b057e06
Fixed #23261 -- Deprecated old style list support for unordered_list filter.
2014-08-11 07:04:33 -04:00
Tim Graham
38e001ab6c
Fixed #22789 -- Deprecated django.contrib.webdesign.
...
Moved the {% lorem %} tag to built-in tags.
2014-07-14 08:45:19 -04:00
LarryBrid
a93ee5112d
Fixed #22941 - Added support for domain-only links with chars after the TLD to urlize.
...
It now works with something like google.com/foo/bar
2014-07-02 20:36:53 -04:00