Access Model.objects methods from Django templates
You save the output of Person.objects.count() in a variable and pass it on to your template from the corresponding view.
Let's say I have a "Person" model.
How can I display the number of persons in my system in a template?
In standard code, I would do: Person.objects.count().
But how to do this in a template?