Update django version & fix bugs.