Updated rots of dependencies (especially django 2.0->2.1), and removed unused dependencies (#657)