Using an slightly similar answer to a question on "How to use arcgis maps in Geonode" as well as a gist from Daniel Berry the solution is as follows.
Add/replace the following section to the baselayer part of your settings.py-file:
STAMEN_ATTR = ('Map tiles by <a href="http://stamen.com">Stamen Design</a>, <a'
' href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</'
'a> — Map data © <a href="http://www.openstreetmap.o'
'rg/copyright">OpenStreetMap</a>')
MAP_BASELAYERS = [{
"source": {"ptype": "gxp_olsource"},
"type": "OpenLayers.Layer",
"args": ["No background"],
"visibility": False,
"fixed": True,
"group":"background"
}, {
"source": {"ptype": "gxp_osmsource"},
"type": "OpenLayers.Layer.OSM",
"name": "mapnik",
"visibility": True,
"fixed": True,
"group": "background"
}, {
"source": {"ptype": "gxp_olsource"},
"type": "OpenLayers.Layer.XYZ",
"args": [
'Stamen Terrain',
'http://stamen-tiles-a.a.ssl.fastly.net/terrain/${z}/${x}/${y}.png',
{
'transitionEffect': 'resize',
'attribution': '%s' % STAMEN_ATTR,
}
],
"visibility": False,
"fixed": True,
"group": "background"
}, {
"source": {"ptype": "gxp_olsource"},
"type": "OpenLayers.Layer.XYZ",
"args": [
'Stamen Toner',
'http://stamen-tiles-a.a.ssl.fastly.net/toner/${z}/${x}/${y}.png',
{
'transitionEffect': 'resize',
'attribution': '%s' % STAMEN_ATTR,
}
],
"visibility": False,
"fixed": True,
"group": "background"
}, {
"source": {"ptype": "gxp_olsource"},
"type": "OpenLayers.Layer.XYZ",
"args": [
'Stamen Toner Lite',
'http://stamen-tiles-a.a.ssl.fastly.net/toner-lite/${z}/${x}/${y}.png',
{
'transitionEffect': 'resize',
'attribution': '%s' % STAMEN_ATTR,
}
],
"visibility": False,
"fixed": True,
"group": "background"
}, {
"source": {"ptype": "gxp_olsource"},
"type": "OpenLayers.Layer.XYZ",
"args": [
'Stamen Watercolor',
'http://stamen-tiles-a.a.ssl.fastly.net/watercolor/${z}/${x}/${y}.png',
{
'transitionEffect': 'resize',
'attribution': '%s' % STAMEN_ATTR,
}
],
"visibility": False,
"fixed": True,
"group": "background"
}]
The settings are picked up when geonode restarts. Quick and dirty way to do this is to restart the server.
The settings are available for new maps. For existing maps the map alternatives have been stored in the database and you will have to update them manually. This can be done only through superuser access to geonode. Open the admin user interface, select maps and then choose the relevant map. As all existing maps will have the definitions (alternatives) active at the time of creation you will have to do this update manually for each map. Start with removing the Mapquest layers and then add the stamen maps of your choice. This will have to be done by copying in attributes from an existing (new map). It will take some time and patience, but it will work.