Fixed #911 -- Made template system scoped to the parser instead of the template modul...
commit31a07af585f47ebbabad44d46e6d0dab8bcdddc1
authoradrian <adrian@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Sat, 26 Nov 2005 22:46:31 +0000 (26 22:46 +0000)
committeradrian <adrian@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Sat, 26 Nov 2005 22:46:31 +0000 (26 22:46 +0000)
tree291765d5f0fb31b7c9bde66d97c859f65f76b17a
parentb3c9499d5bdd1ec0f97907dee08ffb8b5eb6cb55
Fixed #911 -- Made template system scoped to the parser instead of the template module. Also changed the way tags/filters are registered and added support for multiple arguments to {% load %} tag. Thanks, rjwittams. This is a backwards-incompatible change for people who've created custom template tags or filters. See code.djangoproject.com/wiki/BackwardsIncompatibleChanges for upgrade instructions.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
33 files changed:
django/contrib/admin/templates/admin/change_form.html
django/contrib/admin/templates/admin/change_list.html
django/contrib/admin/templates/admin/edit_inline_stacked.html
django/contrib/admin/templates/admin/edit_inline_tabular.html
django/contrib/admin/templates/admin/field_line.html
django/contrib/admin/templates/admin/filter.html
django/contrib/admin/templates/admin/filters.html
django/contrib/admin/templates/admin/pagination.html
django/contrib/admin/templates/admin/search_form.html
django/contrib/admin/templates/widget/default.html
django/contrib/admin/templates/widget/file.html
django/contrib/admin/templates/widget/foreign.html
django/contrib/admin/templatetags/admin_list.py
django/contrib/admin/templatetags/admin_modify.py
django/contrib/admin/templatetags/adminapplist.py
django/contrib/admin/templatetags/adminmedia.py
django/contrib/admin/templatetags/log.py
django/contrib/admin/views/template.py
django/contrib/comments/templatetags/comments.py
django/contrib/markup/templatetags/markup.py
django/core/template/__init__.py
django/core/template/decorators.py [deleted file]
django/core/template/defaultfilters.py
django/core/template/defaulttags.py
django/core/template/loader.py
django/core/template/loader_tags.py [copied from django/core/template/loader.py with 52% similarity]
django/templatetags/i18n.py
docs/templates.txt
docs/templates_python.txt
tests/othertests/defaultfilters.py
tests/othertests/markup.py
tests/othertests/templates.py
tests/testapp/templatetags/testtags.py