django implementation