Commit a1546cc2 by Woile

[NEW] Tests for templatetags.schema_links

parent 11bc1fe2
...@@ -249,7 +249,7 @@ def schema_links(section, sec_key=None): ...@@ -249,7 +249,7 @@ def schema_links(section, sec_key=None):
""" """
Recursively find every link in a schema, even nested. Recursively find every link in a schema, even nested.
""" """
NESTED_FORMAT = '%s > %s' NESTED_FORMAT = '%s > %s' # this format is used in docs/js/api.js:normalizeKeys
links = section.links links = section.links
if section.data: if section.data:
data = section.data.items() data = section.data.items()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment