Update the local_settings.py to fix thumbnails generation bug

It also aligns the ```local_settings.py``` with the current release of GeoNode 2.0