in blog | Matt Layman |
---|---|
original entry | Dynamically Regrouping QuerySets In Templates - Building SaaS #73 |
In this episode, we worked on a new view to display course resources. While building out the template, I used some template tags to dynamically regroup a queryset into a more useful data format for rendering. I started a new view before the stream to display content, but I had not filled it in before the stream started. We added new data to the context, and did some adjustments to the URL based on the required inputs for the view.