that's what I get for copypasting code from django