classy-python / ccbv

A documentation tool for getting your head around Django's class based views.
https://ccbv.co.uk/
BSD 2-Clause "Simplified" License
521 stars 68 forks source link

Reduce dependency on models in templates #242

Closed meshy closed 5 months ago

meshy commented 5 months ago

We rely a lot upon the storage classes in our templates.

This takes some steps to factor out some uses of them, and replace them with Plain Old Python Objects.

The views are getting heavier as a result, which isn't desirable, but this is one step of a larger refactor which will take that into account at a later stage.