Tumblog archive for December

Django Site of the Week: Ooh-Ga-Boo-Ga

The second Django Site of the Week is online. This week it's Satchmo website extraordinaire Ooh-Ga-Boo-Gah.

Dynamic ModelForms in Django

Since 'newforms' became the norm within Django, there seems to have been some confusion relating to dynamic forms that relate specifically to a model.

The basic way to handle forms is to use a ModelForm for simple single-model-related forms, and Form instances for everything else, including more advanced Model-based forms. Many people seem to forget, however, that a ModelForm or Form instance can be manipulated after it's created.

In this blog post, I have included a design pattern I've recently used that should be of use to others who want to tweak their ModelForm instances at runtime.

Django Site of the Week

Since I started DjangoSites over a year ago, the response has been fantastic. I used to approve a handful of websites a week, recently it's more like a half-dozen a day.

I've decided that a bunch of those websites are just awesome, and I wanted to have a chat with the owners of those sites and share their stories with the Django Community. Without further ado, I would like to introduce the Django Site of the Week. The first featured website is Disqus, and an article has been published at the SOTW website based on my interview with Daniel Ha, one of the founders.

Business Cards!

I've had a few meetings recently relating to Django, so I figured I should have some of my own business cards. I went with a nice simple design with sparse information, although these ones are straight off a digital printer so colour quality isn't quite what I wanted. For the next batch (when I have more time up my sleeves) I'll go offset printing for sure.

I also picked up a Moleskine notebook, it's great for taking notes and keeping ideas & wireframes. Much easier than the A4 book I used to lug around.