Refine django setup codes.
Removed some debug print.