I'm new at django, and I need to get table row count (best it would be if before rendering table) of table which rendered with django table2 in my template
have some code like this:
{% load render_table from django_tables2 %}
{% block content %}
{% render_table participations_table %}
{% endblock %}
and I want to render this table if there is at least 1 row in it.