#15505: Feature request: disable localization in some model fields
-----------------------------------------+----------------------------------
               Reporter:  denilsonsa     |         Owner:  nobody
                 Status:  reopened       |     Milestone:        
              Component:  Uncategorized  |       Version:  1.2   
             Resolution:                 |      Keywords:        
           Triage Stage:  Unreviewed     |     Has patch:  0     
    Needs documentation:  0              |   Needs tests:  0     
Patch needs improvement:  0              |  
-----------------------------------------+----------------------------------
Changes (by denilsonsa):

  * status:  closed => reopened
  * resolution:  wontfix =>


Comment:

 I disagree because I was thinking about using them in templates without
 Forms.

 In other words, if a template receives a model instance, or a list of
 model instances, then it will directly render the model fields, without
 using any Form. After all, I believe there are many use cases where a Form
 is not needed (e.g. a list of objects).

 I know I can just "|unlocalize", but IMHO it makes sense to tell Django to
 never localize some fields.

 I'm reopening, if you still disagree, just close again.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15505#comment:2>
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to