#17754: Django GIS Measure refactor
--------------------------------------+------------------------------------
     Reporter:  riccardodivirgilio    |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  GIS                   |                  Version:  SVN
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  1
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by riccardodivirgilio):

 maybe it would be useful to use number_format when calling string, to easy
 use the class in django templates and i18n format number

     def __str__(self):
         return '%s %s' % (number_format(getattr(self,
 self._default_unit)), self._default_unit)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17754#comment:9>
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 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