Skip to content

Commit

Permalink
Merge pull request #167 from zalf-rdm/issue_#112_use_constraints
Browse files Browse the repository at this point in the history
Issue #112 use constraints
  • Loading branch information
silvadealmeida authored Aug 22, 2024
2 parents 5a605b4 + 3b6c422 commit f4b11d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geonode/base/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ def __init__(self, *args, **kwargs):
self.fields["use_constraint_restrictions"] = ComplexDynamicRelationField(
RestrictionCodeTypeSerializer, embed=True, many=True
)
self.fields["use_constrains] = serializers.CharField(read_only=True)
self.fields["use_constrains"] = serializers.CharField(read_only=True)
self.fields["restriction_other"] = ComplexDynamicRelationField(
RestrictionCodeTypeSerializer, embed=True, many=True
)
Expand Down Expand Up @@ -795,7 +795,7 @@ class Meta:
"purpose",
"maintenance_frequency",
"use_constraint_restrictions",
"use_constrains,
"use_constrains",
"constraints_other",
"restriction_other",
"license",
Expand Down

0 comments on commit f4b11d1

Please sign in to comment.