Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

filtering objects in django templates

{% for category in categories %}
  {% for thing in things|in_category:category %}
    {{ thing }}
  {% endfor %}
{% endfor %}
Source by www.edureka.co #
 
PREVIOUS NEXT
Tagged: #filtering #objects #django #templates
ADD COMMENT
Topic
Name
8+9 =