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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2

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