Monthly Archives: April 2010

Hydro Ottawa (aka. Need a longer lasting UPS)

Lately living in Stittsville is feeling more and more like being in a third-world country, given the frequency of power outages lately. Two days ago the power was out in the morning for over an hour, and I look at the outage report and it says this: 2010-04-07 Goulbourn 7:42 am 9:17 am 95 minutes [...]

Where Django signals aren’t enough

So, I’ve been trying to solve an issue in some Django code at work where Django’s insistence on cascading deletions across foreign keys (not necessarily a bad thing) has resulted in unintended deletion. I have a model, Client. Client has a ForeignKey to Zone. When Zone is deleted I would like to intercept and move [...]

Follow

Get every new post delivered to your Inbox.