Fixed #16787 -- Restored the ability to {% load %} template tags libraries within packages. Thanks Ivan Sagalaev for the report and patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Aymeric Augustin 2011-11-21 10:28:12 +00:00
parent 19e54084dc
commit c5a899b190
6 changed files with 40 additions and 12 deletions

View file

@ -698,9 +698,10 @@ load
Loads a custom template tag set.
For example, the following template would load all the tags and filters
registered in ``somelibrary`` and ``otherlibrary``::
registered in ``somelibrary`` and ``otherlibrary`` located in package
``package``::
{% load somelibrary otherlibrary %}
{% load somelibrary package.otherlibrary %}
.. versionchanged:: 1.3