diff -r ff89427aa75a django/contrib/admindocs/views.py
a
|
b
|
|
54 | 54 | load_all_installed_template_libraries() |
55 | 55 | |
56 | 56 | tags = [] |
57 | | for module_name, library in template.libraries.items(): |
| 57 | app_libs = template.libraries.items() |
| 58 | builtin_libs = [(None, lib) for lib in template.builtins] |
| 59 | for module_name, library in builtin_libs + app_libs: |
58 | 60 | for tag_name, tag_func in library.tags.items(): |
59 | 61 | title, body, metadata = utils.parse_docstring(tag_func.__doc__) |
60 | 62 | if title: |
… |
… |
|
87 | 89 | load_all_installed_template_libraries() |
88 | 90 | |
89 | 91 | filters = [] |
90 | | for module_name, library in template.libraries.items(): |
| 92 | app_libs = template.libraries.items() |
| 93 | builtin_libs = [(None, lib) for lib in template.builtins] |
| 94 | for module_name, library in builtin_libs + app_libs: |
91 | 95 | for filter_name, filter_func in library.filters.items(): |
92 | 96 | title, body, metadata = utils.parse_docstring(filter_func.__doc__) |
93 | 97 | if title: |