Embracing class-based views

I recently realized that class-based views are a beautiful, powerful tool to build clean, streamlined views that are easy to understand and maintain. Let me make my case with a trivial example. Let’s have a look at the canonical way to deal with a form in function-based views: What we have here is a good […]