.gitignore projectname/settings.py
git rm --cached projectname/settings.py
git commit -m "remove settings.py"