Django: Not responding to the changes after git pull
Two things:

git reset --hard will just remove any changes to your current branch you may have. Try git fetch --all && git pull --rebase or git fetch --all && git pull.
Try removing all '.pyc' files. An easy command to do that is (assuming you're in the root directory of your project): find . -name '*.pyc' -exec rm {} \;
I have a Django 1.6 project using Gunicorn+Nginx. I have cloned it to my web server (DigitalOcean) and it looked fine and the site was working.
Then I made some changes on the projects in my PC and pushed to GitHub. Then I downloaded the updates by using      git fetch -all and     git reset --HARD. The project in the server side was successfully overwritten (I confirmed this by opening the file where there are changes). However, when I open my site in the browser, it only reflected some of the changes. Specifically:

the HTML/CSS part is updated as the newest version;
BUT, the urls.py and settings.py still followed the old setting. For example, I created a "/login" url in the newest version. But when opening the browser, it showed error. It seemed that it is still reading the setting.py and urls.py of the old branch.

I tried     git branch, it showed that I am currently working on the master one, which is the newest one;
I also try restarting the Gunicorn and Nginx. Nothing different observed.
Could anyone please enlighten me? Really appreciate any help.