Django model field to store relativedelta from python-dateutil
Project description
django-relativedeltastore
A Django model field to store dateutil.relativedelta.relativedelta.
The field is a subclass of JSONField and simply stores the kwargs of a relativedelta instance.
The field is mainly meant to store relativedelta.
The package django-relativedelta provides better query support
(for relative units since it uses a sql INTERVAL).
The basic arguments for relative and absolute units are supported (year, years … microseconds).
Currently not supported are: weekday, leapdays, yearday & nlyearday
The package also provides a form field to edit the value of RelativeDeltaStoreField with a custom
serialization format (configurable): 1hour +1days -1seconds
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-relativedeltastore-0.9.5.tar.gz.
File metadata
- Download URL: django-relativedeltastore-0.9.5.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d79c40f4f0bceded9f76962b3f27440cb2c78132af02c838d332237495a0997c
|
|
| MD5 |
726e1882e7d3666712b492288151716b
|
|
| BLAKE2b-256 |
b655165d6a2134cb8ee0c321733279682ab647e090e7952166b14eb68bd1202b
|
File details
Details for the file django_relativedeltastore-0.9.5-py3-none-any.whl.
File metadata
- Download URL: django_relativedeltastore-0.9.5-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0c3f17ee48bf15b5dd593be6b94ab2821375f3a75fe5420695903371a0a4e9d
|
|
| MD5 |
3f07af31b24bd6fc460efddd709cc714
|
|
| BLAKE2b-256 |
5ab7ea129165a5995a1f1e125df0922999b5c7eec23ddb3cc6d1bc0283ac8bd2
|