My common django guff. Middleware, Decorators etc