Revert "some change in urls.py and view.py"

This reverts commit 1fe8d3c825086c6bd544706b9d9d1753c6de7753.