Invalid filter: '__pypugjs_iter'
See original GitHub issue- pypugjs version: Latest
- Django version: 1.9.1
- Python version: 2.7
- Operating System: Ubuntu
Description
Getting Invalid filter: '__pypugjs_iter'
when using each
in template when i try to iterate over a list of dicts.
div.page-header.container-fluid
h4.page-title {{ page_header.title }}
div.page-subtitle
ul.list-inline.mb-0
each s in page_header.subtitle
p Test
Looks like the package is adding a filter on values… what is the purpose of that?
<div class="page-subtitle">
<ul class="list-inline mb-0"></ul>{% for s in page_header.subtitle\|__pypugjs_iter:1 %}
<p>Test</p>{% endfor %}
</div>
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (9 by maintainers)
Top Results From Across the Web
django: Invalid filter - Stack Overflow
I load the tags in base.html {% load tags %} and use the custom filter in index.html and got the invalid filter error....
Read more >jinja invalid filter, filter is built in - splunktool
Variables can be modified by filters. Filters are separated from the variable by a pipe symbol (|) and may have optional arguments in ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/kakulukia/pypugjs/blob/master/docs/installation.rst << better?
understand … i will put it one level up 😃