Generic django tools.