summaryrefslogtreecommitdiff
path: root/docs/templates_python.txt
AgeCommit message (Collapse)Author
2007-06-25Fixed #4668, #4669, #4670, #4671 -- Fixed a group of ReST markup errors. ↵Malcolm Tredinnick
Thanks, Richard House. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-22Backed out the changes in [5482] for a bit whilst some more investigation intoMalcolm Tredinnick
side-effects is done. Refs #4565. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-17Fixed #4565 -- Changed template rendering to use iterators, rather thanMalcolm Tredinnick
creating large strings, as much as possible. This is all backwards compatible. Thanks, Brian Harring. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-01Negligible spacing change to docs/templates_python.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5412 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-01Fixed #4423 -- Typo fix.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5402 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-29Fixed #1278 -- Added a context processor that puts MEDIA_URL in the context, ↵Russell Keith-Magee
and added that context processor to the default set. Thanks to Ubernostrum for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-11Fixed #4267 -- In example code, extract the template tag name correctly inMalcolm Tredinnick
error messages where Token.split_contents() has failed. Thanks, keisuke.nishida@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5188 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08Fixed #3753 -- Allow optional display of invalid variable name inMalcolm Tredinnick
TEMPLATE_STRING_IF_INVALID. Thanks, Matt McClanahan. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08Fixed #4202 -- Corrected namespacing of exception in one of the examples.Malcolm Tredinnick
Thanks, luftyluft@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-02Fixed #4139 -- Fixed typo in docs/templates_python.txt.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5137 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-20Changed all references to tutorial1/ to be tutorial01/ (and similarly forMalcolm Tredinnick
tutorials 2, 3 and 4). This matches the canonical name we use under djangoproject.com/documentation/ as well as the source filename. Should avoid problems with archived documentation and missing HTTP redirects. Refs #4013. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-23Fixed documentation from [4558] to be correct.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-23Fixed #343: filters that take strings now handle non-strings correctly. ↵Jacob Kaplan-Moss
Thanks to Boffbowsh for the original patch, and to SmileyChris for the updated patch and tests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-13Renamed date_to_format function in docs/templates_python.txt example so as ↵Adrian Holovaty
to make it not sound like a conversion function. Thanks, linoj git-svn-id: http://code.djangoproject.com/svn/django/trunk@4502 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10Fixed #2655 -- added documentation about resolve_variable() for custom templateMalcolm Tredinnick
tags. Thanks dave@thebarproject.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-24Fixed #3333 -- Docs now use relative links, not hard-coded djangoproject.com ↵Adrian Holovaty
links. Thanks for the patch, SmileyChris git-svn-id: http://code.djangoproject.com/svn/django/trunk@4420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-10Fixed typo in docs/templates_python.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-24Made small edits to docs/templates_python.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3920 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-23Fixed #2837 -- Documented the context_instance parameter toMalcolm Tredinnick
render_to_response(). git-svn-id: http://code.djangoproject.com/svn/django/trunk@3911 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-13Fixes #2384,#2566 -- Clarify the role that TEMPLATE_STRING_IF_INVALID plays ↵Russell Keith-Magee
in the template system, and the problems that can occur if it is used on a production site. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-29Fixed #2845 -- Corrected a few spelling errors in the docs and changed aMalcolm Tredinnick
couple of correctly spelt words to their North American counterparts for consistency. Thanks, treborhudson@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@3883 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2744 -- Added 'Writing your own context processors' to ↵Adrian Holovaty
docs/templates_python.txt git-svn-id: http://code.djangoproject.com/svn/django/trunk@3865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-21Fixed #2556 -- Documented that simple_tag functions can take any number ofMalcolm Tredinnick
arguments, not just one. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3772 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-04Corrected spelling of 'behavior' in docs/templates_python.txt from [3714]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3717 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-04Fixes #2637 -- Clarified handling of TEMPLATE_STRING_IF_INVALID, especially ↵Russell Keith-Magee
with regards to filtering of invalid values. Modified unit tests to test both empty and non-empty values for TEMPLATE_STRING_IF_INVALID. Thanks to SmileyChris for identifying and helping to resolve this bug. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31Fixed #2610 -- Clarified docs on 'messages' variable for auth context processorAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-28Fixed #2610 -- corrected documentation about the auth context processor ↵Jacob Kaplan-Moss
(thanks, ubernostrum). git-svn-id: http://code.djangoproject.com/svn/django/trunk@3670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18Made small change to docs/templates_python.txt to explicitly define 'context ↵Adrian Holovaty
processors', for the benefit of searches git-svn-id: http://code.djangoproject.com/svn/django/trunk@3606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28Removed section in docs/templates_python.txt about Django 0.91Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-24Fixed legacy mention of DjangoContext in docs/templates_python.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10Decimated 'whilst' in docs/templates_python.txt from [3308]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10Typo fixing.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10Fixed #2320 -- corrected numerous errors in the custom tag examples inMalcolm Tredinnick
python_templates.txt. Also fixed an argument parsing error for such tags. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26Fixed #2235 -- corrected a couple of typos pointed out by jvinet@zeroflux.org.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-07Fixed #2096 -- Fixed small error in docs/templates_python.txt. Thanks, ramiroAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02Fixed #1870 -- Clarified (hopefully) the TEMPLATE_DIRS section of ↵Adrian Holovaty
docs/templates_python.txt git-svn-id: http://code.djangoproject.com/svn/django/trunk@3061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-25Made some edits to docs/templates_python.txt 'inclusion_tag' sectionAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2979 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-25Fixed #2001 -- corrected a couple of typos in the custom tag examples. ThanksMalcolm Tredinnick
to topdeckmail@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-19Documented the simple_tag and inclusion_tag functions that make writing certainMalcolm Tredinnick
types of template tags easier. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16Fixed #1321 -- Made DJANGO_SETTINGS_MODULE optional. You can now call ↵Adrian Holovaty
django.conf.settings.configure() to set settings manually if you don't have a settings module. Thanks, Malcolm Tredinnick, Luke Plant, Fredrik Lundh git-svn-id: http://code.djangoproject.com/svn/django/trunk@2927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly ↵Adrian Holovaty
backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-27Fixed #1546 -- Fixed bad links in docs/templates_python.txt.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-09Added TEMPLATE_STRING_IF_INVALID setting, which specifies what the template ↵Adrian Holovaty
system should output in case of invalid variables. Default is empty string (to match current behavior) git-svn-id: http://code.djangoproject.com/svn/django/trunk@2294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-27Fixed #1271 -- Added a 'request' template context processor, which is not ↵Adrian Holovaty
activated by default. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-20Added note to docs/templates_python.txt about TEMPLATE_DIRS containing any ↵Adrian Holovaty
path you want git-svn-id: http://code.djangoproject.com/svn/django/trunk@2077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-18Fixed typo in URL in docs/templates_python.txt. Thanks, Luke Skibinski HoltAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-12Removed 'Subclassing Context: Custom subclasses' from ↵Adrian Holovaty
docs/templates_python.txt because the same thing can be accomplished using DjangoContext processors git-svn-id: http://code.djangoproject.com/svn/django/trunk@1924 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11Fixed error in docs/templates_python.txt (thanks, Alice)Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11Removed 'Only in Django development version' messages from the docs, because ↵Adrian Holovaty
frozen docs for version 0.90 are now available git-svn-id: http://code.djangoproject.com/svn/django/trunk@1898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09Fixed #1116 -- Fixed two typos in docs. Thanks, ChengAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1871 bcc190cf-cafb-0310-a4f2-bffc1f526a37