Good evening please
Can you help me?
I want to display the number of items with a filter.
Example:
this call returns 4 elements
{{ item.class.classecours.all|length}}
at the .all level
make an item.class.classecours.filter(status==True)|length
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CAOtSHp_wH9Xy-sf9t%2BMdtWB-bnRX680R9iJwZAnyZXh%3DxV%3De%3Dg%40mail.gmail.com.