Robert Wittams wrote:
Would:

        {% regroup user.get_thing_list|dictsort:"category_id" by category_id as
grouped %}
     {% for category in grouped %}
     <p>
     {{ category.list.0.get_category.description }}
         {% for entry in category.list %}
         <!-- handle entry -->
         {% endfor %}
     </p>
     {% endfor %}

work?


looks promising, I had no idea that I could do that. Seems a bit heavy handed. Will play around it with it some more, see how I feel about it. I also plan to try adding code to the view, see how that works out too. Maybe the answer is I end up coding some custom template stuff and sending in some patches. Or maybe there is another way hiding under a different rock.

Reply via email to