Chat application based on django and websockets