added some django features