Add format
argument to UUIDField
by ovangle · Pull Request #2788 · encode/django-rest-framework (original) (raw)
I'm not entirely sure what potential problem you foresee here.
Which int
case? The case where format is 'int'
, or the case where an int
has somehow been passed to to_representation
? None of the other fields check too rigorously for an incorrect type being passed to to_representation
.