In django templates I accomplish this with {% if forloop.first %}
but im not sure how to do this in regular ole python without writing a clunky counter to count up as my conditional iterates. Is their an easy way out?
Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...