I hate programming tests during job interviews, but you would IMMEDIATELY fail with me for using globals. There are VERY few things you could do in Python (or Django for that matter) that would be complete deal breaker for me, but you managed to find one.