All articles tagged Development

Thumbnail image for Four Libs Good, Two Libs Better

Four Libs Good, Two Libs Better

[with apologies to Mr. Orwell] I’ve noticed a subtle shift in how we approach building up new sites over the last couple of years. Our approach to site construction used to favor collecting open source apps and gluing them together …
Thumbnail image for On Fixtures and Factories

On Fixtures and Factories

We’ve made it a general rule to move away from relying on fixtures in our projects. The main reasons are: Fixtures are fragile. They often break when the schema changes or even worse they appear to work but introduce subtle …
Thumbnail image for Ginger Tech Stack

Ginger Tech Stack

For our latest product, Ginger, we wanted to marry the real-time functionality we needed with the traditional Django stack we know and love. After some false starts and falling on our faces in the beginning, we ended with a stack …
Thumbnail image for Quick Django Class Based View Decorator

Quick Django Class Based View Decorator

The recommended way to add decorators such as login_required to class based views in Django is a bit verbose. Here’s a little metaclass-producing function you may find handy: def DecoratedDispatchMethod(actual_decorator): """ If you want to decorate the Class-based View with, …