A DRF serializer field for basic iso8601 duration strings
Project description
rest_framework_duration_iso_field
DurationIsoField
parses and serializes iso8601 <-> datetime.timedelta
Caveats
- does not support date ranges
- does not support years/months
- does not support embedded dates
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for rest_framework_duration_iso_field-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 434ce85ade38bb833c0caa8c1e726c15f2dba8785f3a2ce6fc451ead45be49e2 |
|
MD5 | f81676dea985b9c9fd71b2a427726c79 |
|
BLAKE2b-256 | 3bca951e5731426371305debde3363e2ed6cb6fa1507a1fa8c12f4da043df50d |
Close
Hashes for rest_framework_duration_iso_field-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b2305b1b4d62b3aa54848eaf89b5b046683253c203d9151ece792926cb0d8f1 |
|
MD5 | 2dda5f496c5685d563f30054bbcf24b7 |
|
BLAKE2b-256 | a1b5701e1b5542565212366a7b1d5aa65344feaed2e21855f42c15b3fc0c029e |