We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UUID should be able to be used for API when adding a zone to a policy rule
Requires full zone payload
The text was updated successfully, but these errors were encountered:
I have the same problem.
Easy to fix i think. Need to change the Serializer in api/serializers line 230 in class PolicyRuleSerializer.
Change: source_zone = ZoneSerializer(required=False)
With: source_zone = SerializedPKRelatedField( queryset=models.Zone.objects.all(), serializer=ZoneSerializer, required=False )
and same thing for the destination zone line 240.
Sorry, something went wrong.
Resolved by #146
No branches or pull requests
Environment
Expected Behavior
UUID should be able to be used for API when adding a zone to a policy rule
Observed Behavior
Requires full zone payload
Steps to Reproduce
The text was updated successfully, but these errors were encountered: