Skip to content

Commit

Permalink
[Fixes #12124] GNIP 100: Assets - fix resource manager field list
Browse files Browse the repository at this point in the history
  • Loading branch information
etj committed May 7, 2024
1 parent 9d1697b commit e7c8519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/resource/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def create(self, uuid: str, /, resource_type: typing.Optional[object] = None, de
resource_dict = { # TODO: cleanup params and dicts
k: v
for k, v in defaults.items()
if k not in ("data_title", "data_type", "description", "files", "link_type")
if k not in ("data_title", "data_type", "description", "files", "link_type", "extension")
}
_resource, _created = resource_type.objects.get_or_create(uuid=uuid, defaults=resource_dict)
if _resource and _created:
Expand Down

0 comments on commit e7c8519

Please sign in to comment.