The most useful command of the night :
find . -name “settings.py” -exec sed -i .bak -e “s/ / /g” {} \;

* Note - the spaces after “s/” is actually a tab character. To enter this on a command line type Ctrl-V,