I think this in template will help you.
<div class="card-header">Total Table Numbers</div>
<h4 class="card-text text-center">{{tableNumber_total}}</h4>
On Tue, May 26, 2020 at 10:50 AM Saurabh Adhikary <[email protected]>
wrote:
> I want to create a custom function which will get modified into a sql
> querry and will work like Count ...i.e. for every row of the queryset
>
> --
> 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/7a301d3e-d690-4b49-b6da-02d00c97758e%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/7a301d3e-d690-4b49-b6da-02d00c97758e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
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/CAFWyajUTEA%3D7GyGrk9hsn2tgS1zWVWswHMsO%3DHeGHETqHWa18A%40mail.gmail.com.