Added django fucntionality