Actions
Task #4041
closedDetermine impact of blank=True when null=True on all models.
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Easy Fix
Sprint:
Sprint 47
Quarter:
Description
A recent PR raised the question of: Do the fields with null=True also need blank=True? If so, which types of fields and why. This may be determined by reading docs but will likely need to include some testing. After making the determination, all the models should be updated to be constant.
The PR was for the Publication.publisher (FK). null=True was added but not blank=True. Seemed to work but question was raised about the browsable API.
Actions
Remove 'blank' argument from models
No need of its usage as all checks are done with django rest framework
https://pulp.plan.io/issues/4041
re #4041
Signed-off-by: Pavel Picka ppicka@redhat.com