GeoNode/geonode — pull request #392 by simod (2012-09-17 12:12:09+00:00)
Title: in case of upgrade/reinstall use the existing postgres password

if a db called 'geonode' exists, try to get the pg password from the local_settings backup, otherwise reset the 'geonode' role password.
Should solve the https://github.com/GeoNode/geonode/issues/334