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) (#9910)

Co-authored-by: mattiagiupponi <51856725+mattiagiupponi@users.noreply.github.com>

Co-authored-by: NAGGINDA MARTHA <marthamareal@gmail.com>
Co-authored-by: mattiagiupponi <51856725+mattiagiupponi@users.noreply.github.com>
  • Loading branch information
3 people committed Aug 26, 2022
1 parent d1f22a4 commit 1492a52
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 1492a52

Please sign in to comment.