#29862: Add Weight and Volume classes to measure module
-----------------------------+--------------------------------------
Reporter: David Ross | Owner: David Ross
Type: New feature | Status: assigned
Component: GIS | Version: 2.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------------------------
Comment (by David Ross):
Now that you mention it, `contrib.gis` probably isn't really an
appropriate location for these classes. It utilises the base class
`MeasureBase` in the `contrib.gis.measure.py` file, hence why I placed the
classes there. Is there a more appropriate place for these new classes in
the code base?
I feel these classes are useful additions for being able to convert units
on the fly. For example altering an app users weight units depending on
their preferences or region or conversion of volumes for a scientific
application.
--
Ticket URL: <https://code.djangoproject.com/ticket/29862#comment:6>
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/068.c658e7c1ad19edd213aa31f85e2be632%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.