added some useful django stuff