2019-02-15 django template for range


{% for i in "x"|ljust:"N" %}
    
    {{ forloop.counter0 }}
    
    
    {{ forloop.counter }}
{% endfor %}


{% for i in "x"|ljust:"3" %}
    
{% endfor %}

https://gist.github.com/wachunei/f7f1bb9bca0a74bb1053

你可能感兴趣的:(2019-02-15 django template for range)