davidtingsu
Results
2
comments of
davidtingsu
Try using the [`yesno` filter](https://docs.djangoproject.com/en/1.7/ref/templates/builtins/#yesno): ``` %div{ class: "{{ condition|yesno"active,inactive" }}" } %img{'src': '={ image_obj.url }'} ```
Actually supplier_sku and short_name are is custom to my project. I've crossed it out.