#28502: Select widget doesn't accept non-string as value
----------------------------------+------------------------------------
     Reporter:  Nguyễn Hồng Quân  |                    Owner:  nobody
         Type:  Bug               |                   Status:  new
    Component:  Template system   |                  Version:  master
     Severity:  Normal            |               Resolution:
     Keywords:  widget filter     |             Triage Stage:  Accepted
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+------------------------------------
Changes (by Claude Paroz):

 * version:  1.11 => master
 * component:  Forms => Template system
 * stage:  Unreviewed => Accepted


Comment:

 I also think that `stringformat` should be improved to accept tuples as
 its base `value`. In Python the printf syntax special cases tuples as it
 considers them as a list of placeholder values. This does not make sense
 in `stringformat` as the string containing the placeholder is always a
 single placeholder.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28502#comment:1>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.6b9ffcc16887af1227ed6f9d54c8afdf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to