#12645: UnicodeEncodeError when validating forms with non-ascii field names
-------------------------------+--------------------------------------------
          Reporter:  alanjds   |         Owner:  unbracketed
            Status:  closed    |     Milestone:             
         Component:  Forms     |       Version:  1.1        
        Resolution:  wontfix   |      Keywords:  unicode    
             Stage:  Accepted  |     Has_patch:  1          
        Needs_docs:  0         |   Needs_tests:  0          
Needs_better_patch:  1         |  
-------------------------------+--------------------------------------------
Changes (by jkocherhans):

  * status:  assigned => closed
  * resolution:  => wontfix
  * milestone:  1.2 =>

Comment:

 In general I agree that it's not acceptable, but that's partly a
 limitation of Python itself. You can't use non-ascii values for python
 variables, so you can't create model fields, or declaratively create form
 fields with non-ascii values. What you're doing here is essentially a hack
 to get around that fact. You can still change the label of the field to
 "Diâmetro" if you want.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12645#comment:5>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to