Skip to content

Commit

Permalink
[Fixes #11188] Make keywords optional when editing a resource with th…
Browse files Browse the repository at this point in the history
…e Django Admin (#11189)
  • Loading branch information
mattiagiupponi authored Jun 22, 2023
1 parent 2c1e886 commit c34e492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/base/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def keyword_id(self, obj):


class ResourceBaseAdminForm(autocomplete.FutureModelForm):
keywords = TagField(widget=TaggitSelect2Custom("autocomplete_hierachical_keyword"))
keywords = TagField(widget=TaggitSelect2Custom("autocomplete_hierachical_keyword"), required=False)

def delete_queryset(self, request, queryset):
"""
Expand Down

0 comments on commit c34e492

Please sign in to comment.