I'm reading the API Guide on Fields in the link 
https://www.django-rest-framework.org/api-guide/fields/

One of the example usage of DecimalField seems to have an error:

[image: 1573605143321.jpg]

Instead of validating numbers up to 999 in the original text, it seems to 
be more precise that the piece of code 
seralizers.DecimalField(max_digits=5, decimal_places=2) validates numbers 
up to 999.99.

I wonder if this question could be clarified and expect any validation from 
others :)

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-rest-framework/501a9059-65a0-491f-aaaa-b72bcdc2d3bf%40googlegroups.com.

Reply via email to