#36171: When saving an object(null=True, blank=True) with an empty string 
__str__
in the admin page.
-------------------------------+--------------------------------------
     Reporter:  Antoliny       |                    Owner:  Antoliny
         Type:  Bug            |                   Status:  closed
    Component:  contrib.admin  |                  Version:  5.1
     Severity:  Normal         |               Resolution:  invalid
     Keywords:  blank, str     |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------
Comment (by Antoliny):

 sarahboyce, I have a small question. 🙋
 It seems this issue occurs because even though we set `blank=True` in the
 `Field(Model)`, but the admin `Form` doesn't allow empty value.
 Is this how it was originally designed? Does this mean users need to
 manually configure `Form` to allow empty fields for `Field(Model)` where
 `blank=True` is set?
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36171#comment:5>
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 visit 
https://groups.google.com/d/msgid/django-updates/01070194d5d746f6-9007802e-ce71-4ca3-abd2-7787e066a496-000000%40eu-central-1.amazonses.com.

Reply via email to