You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose to add a geonode_type field in ResouceBase (after releasing GeoNode 2.0), in order to populate it with the corresponding values (layer, map, document) when instantiating the object.
This way we will have a clear way to query ResourceBase, without getting the information in the ugly way we currently do (https://github.com/GeoNode/geonode/blob/master/geonode/base/models.py#L306).
The text was updated successfully, but these errors were encountered:
As discussed here:
#1347
I propose to add a geonode_type field in ResouceBase (after releasing GeoNode 2.0), in order to populate it with the corresponding values (layer, map, document) when instantiating the object.
This way we will have a clear way to query ResourceBase, without getting the information in the ugly way we currently do (https://github.com/GeoNode/geonode/blob/master/geonode/base/models.py#L306).
The text was updated successfully, but these errors were encountered: