mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
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:
parent
19e54084dc
commit
c5a899b190
6 changed files with 40 additions and 12 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue