Skip to main content

Height / Weight fields for Django models & forms with unit conversion

Project description

Custom model fields to store, retrieve and convert measurements of height, weight and more.

Authored by Basil Shubin, and some great contributors.

https://img.shields.io/pypi/v/django-unitology.svg https://img.shields.io/pypi/dm/django-unitology.svg https://img.shields.io/github/license/bashu/django-unitology.svg https://img.shields.io/travis/bashu/django-unitology.svg

Installation

pip install django-unitology

External dependencies

  • jQuery - this is not included in the package since it is expected that in most scenarios this would already be available.

Setup

Add unitology to INSTALLED_APPS:

INSTALLED_APPS += (
    'unitology',
)

When deploying on production server, don’t forget to run:

python manage.py collectstatic

Usage

License

django-unitology is released under the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-unitology-0.0.2.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

django_unitology-0.0.2-py2-none-any.whl (17.8 kB view details)

Uploaded Python 2

File details

Details for the file django-unitology-0.0.2.tar.gz.

File metadata

File hashes

Hashes for django-unitology-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c0067665f08e8fbb21bf078cb9f3332dd3f8e432303486a47f57cf39c13e132a
MD5 1d683a482de1ab64bc4a9ae7dd417f39
BLAKE2b-256 631367ee84c86636eae4d06f5cbc0a81db077a15b0dfff0d90c4cf029cc3553c

See more details on using hashes here.

File details

Details for the file django_unitology-0.0.2-py2-none-any.whl.

File metadata

File hashes

Hashes for django_unitology-0.0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 ec3f43bf63049f57724996769cb4af09d913ca636bdbdf4531506c4b1c1d4b6e
MD5 29133d43aa4624fea7146c8a9957631b
BLAKE2b-256 01efca79a76f2b427c0390d65bb1c4d0ee446436e00272c5899b6f70c18a45f0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page