Navigation Menu

Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Commit

Permalink
Problem: suffix field is required in the serializer, but can be ''
Browse files Browse the repository at this point in the history
Solution: set allow_blank=True in the serializer

closes: #3964
https://pulp.plan.io/issues/3964
  • Loading branch information
dkliban committed Sep 4, 2018
1 parent d38aee4 commit 29973ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pulpcore/pulpcore/app/serializers/progress.py
Expand Up @@ -28,7 +28,8 @@ class ProgressReportSerializer(ModelSerializer):
)
suffix = serializers.CharField(
help_text=_("The suffix to be shown with the progress report."),
read_only=True
read_only=True,
allow_blank=True
)
task = RelatedField(
help_text=_("The task associated with this progress report."),
Expand Down

0 comments on commit 29973ba

Please sign in to comment.