6

Jan

Filed in Code, Django, How-To's with 3 Comments |

Today (for many hours) I sat here attempting to debug an error which Django wasn’t spitting out. This happened when combining Django+mod_wsgi and having a runtime import error. The result is a generic white internal server error page from Apache, and nothing recorded in any kind of error log.
So, to make your life easier, I [...]

24

Dec

Filed in Code with 1 Comment |

And then want to take a chainsaw to their operations center..
My girlfriend and I started playing World of Warcraft so I figured I’d just reactivate my old account. Went to login and got an “account permanently banned” notice. Well, sure, I did odd things Blizzard didn’t like back in the day, but it wasn’t banned [...]

22

Dec

Filed in Other with No Comments |

Just thought I’d throw up the resolution I found for my networking issues on Windows 7. I’ve had these non-stop for as many weeks as I can remember. Originally, they were happening via my wireless connection (which uses generic Broadcom drivers). So I figured that maybe the drivers were to blame, and I switched to [...]

30

Sep

Filed in Code, Django, Jinja with 5 Comments |

One of the many issues which one must overcome with Jinja2 is using it with 3rd party modules. A lot of these already have built-in views, and many have yet to realize the benefit of class-based views. Today, I’m going to explain how we approached this for DjangoSpot (GitHub) and django-registration.
The goal, as always, is [...]

14

Sep

Filed in Code, Django, Jinja with 9 Comments |

As an advocate of Jinja2 I figured it was about time I got on board the train. Up until now I had been using Jinja1 at work, and in most projects. The main reasoning behind this was there was no good connector. Now many might say that you don’t need a connector, you can just [...]

15

Jul

Filed in Code, Django, iBegin with 2 Comments |

Today I’m going to talk a little bit about one of our hurdles, and a quick solution we came up with to get around it at iBegin. We needed the ability to override URLs per-site, which by itself is fairly easy. You simply change the ROOT_URLCONF in your local or per-site settings file. Let’s take [...]

2

Jul

Filed in Code, Curse, Django, Lifestream, PHP, Work, iBegin with 12 Comments |

One of the common things we do across projects is paginate querysets and lists. Django happens to provide a base Paginator for us, but it’s usefulness is limited. It requires you to do the same repetitive tasks over and over. We’re one of those groups of people who believe that not every URL need’s to [...]

29

Jun

Filed in Lifestream with No Comments |

I haven’t made too many posts lately. Whether it’s been from lack of time, or simply nothing to write about who’s to say. That doesn’t mean I haven’t been keeping busy though.
We’ve been hard at work over at iBegin deploying some new architecture. It’s a pretty cool feat, but I can’t say too much about [...]

3

Jun

Filed in Other with 8 Comments |

(My apologies this rant is long and should probably be called “The EA Nightmare“)
As many of you are aware, yesterday was the launch of one of the more anticipated games this year: The Sims 3. So, being a typical gamer, I had to pick it up (and the fact that my girlfriend is nuts about [...]

17

Apr

Filed in Code, Django with 5 Comments |

One issue we had come up over at iBegin lately, is the fact that GZipMiddleware tries to encode ALL responses (with a few minor exceptions). In our cases, we sometimes stream actual binary files over the response. Doing this with the standard middleware causes a unicode error as it’s trying to encode all of the [...]

Next Page »