#15505: Feature request: disable localization in some model fields
---------------------------+------------------------------------------------
 Reporter:  denilsonsa     |          Owner:  nobody    
   Status:  new            |      Milestone:            
Component:  Uncategorized  |        Version:  1.2       
 Keywords:                 |   Triage Stage:  Unreviewed
Has patch:  0              |  
---------------------------+------------------------------------------------
 In 1.2, we now have L10N, so now Integer fields automatically have the
 thousand separator. That's a neat addition.

 Also, we have a "localize" parameter to Form fields, setting if they
 should be localized or not.
 http://docs.djangoproject.com/en/dev/ref/forms/fields/#localize

 However... I miss such "localize" parameter at the Model itself. For me,
 it makes sense to set some fields as "do not localize". For instance,
 suppose I have a IntegerField that holds a barcode. It makes no sense to
 ever localize such field, so I would like to tell this to Django.

 Suggestion: add "localize" parameter also to model fields.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15505>
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