This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Expose a duration value to your staff and users in a non-hideous manner. Allows you to accept input such as “3 days and 2 minutes” or even “6years,32 min & 503ms”, and optionally renders values to the user in a similar manner.

Requirements

  • Django 1.8 (the first one with a duration field)
  • Python 2.7, 3.4, or PyPy (should work with 3.3, but I haven’t tested it)

Usage

Insert a NaturalDurationField into a form somewhere. The human_values kwarg tells whether to render initial values in a nice, humanized fashion (2 days and 30 minutes) or the usual django fashion (2 00:30:00). At no point is precision lost when resaved.

Other Notes

Copyright Jake Merdich, 2015, released under New BSD license.

Largely inspired by the [Juration](https://github.com/domchristie/juration) javascript library.

Release History

Release History

0.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-natural-duration-0.1.tar.gz (5.5 kB) Copy SHA256 Checksum SHA256 Source Aug 18, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting