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.
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)
Built Distribution
File details
Details for the file django-unitology-0.0.2.tar.gz
.
File metadata
- Download URL: django-unitology-0.0.2.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0067665f08e8fbb21bf078cb9f3332dd3f8e432303486a47f57cf39c13e132a |
|
MD5 | 1d683a482de1ab64bc4a9ae7dd417f39 |
|
BLAKE2b-256 | 631367ee84c86636eae4d06f5cbc0a81db077a15b0dfff0d90c4cf029cc3553c |
File details
Details for the file django_unitology-0.0.2-py2-none-any.whl
.
File metadata
- Download URL: django_unitology-0.0.2-py2-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec3f43bf63049f57724996769cb4af09d913ca636bdbdf4531506c4b1c1d4b6e |
|
MD5 | 29133d43aa4624fea7146c8a9957631b |
|
BLAKE2b-256 | 01efca79a76f2b427c0390d65bb1c4d0ee446436e00272c5899b6f70c18a45f0 |