Skip to main content

Temporary reusable app for adding a DurationField to Django

Project description

Temporary reusable application for a DurationField in Django.

The django-durationfield package is a temporary solution for #2443, “Add IntervalField to database models.” Since the existing patch was not committed before the 1.2 feature deadline, this package attempts to make the patch into a reusable application that provides a DurationField.

This package will aim to stay in sync with the latest patch attached to the ticket and to make the (hopefully) eventual migration of DurationField into Django core as simple as switching a few import statements. My current plan is that django-durationfield will be deprecated as soon as #2443 is merged into the Django trunk.

I thank the authors of the original DurationField patches, Marty Alchin, Adys, and Yuri Baburov.

The code in this app is currently based on the 2010-01-25 patch by Adys, DurationField.patch

Usage: TODO

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-durationfield-0.1.1.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file django-durationfield-0.1.1.tar.gz.

File metadata

File hashes

Hashes for django-durationfield-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7f51e8bc994198123c0c8a98443c71e49c0282091cdd21da8d7a6284cb2fde2d
MD5 632206ce37d166109868c2741dd9b25e
BLAKE2b-256 80fb1ff90e6aac46e23459c04a7a6ab79788c348e50a9612de9db6ad47ad7bb3

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