Hi everyone,
I am working on this and I have a question.
How to write validation check for this?
Due to python floating point issues, I am not able to validate whether 
field value is of given step_size or not

- Kapil
On Wednesday, March 17, 2021 at 9:34:59 PM UTC+5:30 jacob...@gmail.com 
wrote:

> Great News!
> So please accept ticket #32559 
> <https://code.djangoproject.com/ticket/32559>. I then will assign myself 
> to it and implement it.
> So I add step (or would you prefer step_value?) to IntegerField and 
> FloatField, but not to DecimalField (because there it's handled through 
> decimal_places).
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/cc31eb05-4ec4-4233-a535-ca8726156a35n%40googlegroups.com.
  • Pro... Jacob Rief
    • ... Markus Holtermann
      • ... Jacob Rief
        • ... Josh Smeaton
          • ... Carlton Gibson
            • ... Jacob Rief
              • ... Carlton Gibson
                • ... 'Adam Johnson' via Django developers (Contributions to Django itself)
                • ... Jacob Rief
                • ... Kapil Bansal
                • ... Jacob Rief
                • ... 'Adam Johnson' via Django developers (Contributions to Django itself)
                • ... Jacob Rief
                • ... James Bennett
                • ... Kapil Bansal

Reply via email to