dwins/gsconfig.py — pull request #27 by drwelby (2012-06-17 19:47:59+00:00)
Title: Default style fix and add recurse=true to layer.delete

Two small fixes mostly related to Geonode.

An aborted data upload in Geonode will leave a resource but no default style, so when cascading_delete is run if errors when it tries to find the default style to delete. The first fix allows the default style to be None.

The second fixes adds the "recurse=true" option when deleting layers. This will delete both the layer and any associated resources.