#35445: Adding model field validators to FloatField and IntegerField is not
possible.
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  AjmalPonneth
  AjmalPonneth                       |
                   Type:  Bug        |         Status:  assigned
              Component:  Database   |        Version:  5.0
  layer (models, ORM)                |
               Severity:  Normal     |       Keywords:
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 Adding validators like MinLengthValidator, and MaxLengthValidator to the
 float field causes a TypeError "object of type 'float' has no len()" when
 saving the instance from admin.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35445>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018f67f8610c-846a1119-ef56-4668-a967-e51e1947bf0c-000000%40eu-central-1.amazonses.com.

Reply via email to