GeoNode/geonode — pull request #359 by tomkralidis (2012-08-09 17:27:52+00:00)
Title: ResourceBase implementation

Abstraction of Layer object to ResourceBase object which Layer inherits from. This opens up the ability of deriving from ResourceBase, to/from which, for example, a catalogue can interact with.

Passes unit and integration tests.

The south migration requires some verification. I chose option 3 for most migrations, however it asked for a default value for `Layer.resourcebase_ptr`, to which I set `-1` so as not to clash with legacy models. I'm not 100% sure of the implications of this default, however.