diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-01-11 05:07:38 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-01-11 05:07:38 +0000 |
| commit | 8013f76a40270283f9d3c04160ac9b8a72ffe2be (patch) | |
| tree | 7b7626286b882c3622d341ab6d1e56c4e0083607 /docs/templates_python.txt | |
| parent | 8f42a9246580dc11e8c1975eb364816495ba488c (diff) | |
magic-removal: Merged to [1903]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/templates_python.txt')
| -rw-r--r-- | docs/templates_python.txt | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/docs/templates_python.txt b/docs/templates_python.txt index 1b804e8e80..13805875cf 100644 --- a/docs/templates_python.txt +++ b/docs/templates_python.txt @@ -282,11 +282,6 @@ optional, third positional argument, ``processors``. In this example, the 'foo': 'bar', }, [ip_address_processor]) -Note: The concept of template-context processors is new in the Django -development version. In Django 0.90, ``DjangoContext`` automatically populates -the context with all of the values explained below, but it's not possible to -add and remove processors. - Here's what each of the default processors does: .. _HttpRequest object: http://www.djangoproject.com/documentation/request_response/#httprequest-objects @@ -540,8 +535,6 @@ filters are registered. So, near the top of your module, put the following:: Writing custom template filters ------------------------------- -**This section applies to the Django development version.** - Custom filters are just Python functions that take one or two arguments: * The value of the variable (input) -- not necessarily a string. @@ -601,8 +594,6 @@ will use the function's name as the filter name. Writing custom template tags ---------------------------- -**This section applies to the Django development version.** - Tags are more complex than filters, because tags can do anything. A quick overview |
