Skip to content

Commit

Permalink
-[Fixes #9878] drf_spectacular error breaks redoc and swagger-ui sche…
Browse files Browse the repository at this point in the history
…mas (#9908)

Co-authored-by: mattiagiupponi <[email protected]>
  • Loading branch information
2 people authored and github-actions[bot] committed Aug 26, 2022
1 parent d1f22a4 commit 7305b05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/resource/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ExecutionRequest(models.Model):
(STATUS_FINISHED, _("finished")),
]

ACTION_CHOICES = [(v.value, v.value) for v in ExecutionRequestAction]
ACTION_CHOICES = [(str(v.value), str(v.value)) for v in ExecutionRequestAction]

exec_id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
user = models.ForeignKey(
Expand Down

0 comments on commit 7305b05

Please sign in to comment.