Django server code updated