diff --git a/README.md b/README.md index 24ffd65..7850cba 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ Enables the `range_merge` Aggregate for Django on Postgres. `range_merge` "Computes the smallest range that includes ... the given ranges". +![Visualization of what range_merge does, returning smallest range that includes input ranges in the QuerySet](https://github.com/jacklinke/django-range-merge/media/range_merge.png) + This package should only be used with Django projects using the Postgres database. See [Postgres docs on Range Functions](https://www.postgresql.org/docs/14/functions-range.html#RANGE-FUNCTIONS-TABLE). Note: This app is still a work-in-progress, but currently works. Tests have not yet been implemented. diff --git a/django_range_merge/__init__.py b/django_range_merge/__init__.py index 829a835..4d4175d 100644 --- a/django_range_merge/__init__.py +++ b/django_range_merge/__init__.py @@ -2,6 +2,6 @@ Enables the range_merge Aggregate for Django on Postgres """ -__version__ = "0.2.3" +__version__ = "0.2.4" default_app_config = "django_range_merge.apps.DjangoRangeMergeConfig" # pylint: disable=invalid-name diff --git a/media/range_merge.drawio b/media/range_merge.drawio new file mode 100644 index 0000000..688b0df --- /dev/null +++ b/media/range_merge.drawio @@ -0,0 +1 @@ +7ZvBcpswEIafhkMPmUGSjfExdtI2h04PObTpJaOADEwEcmU5tvv0lUBgMHiSjmNFaXSy+FdI8n4rtOzYHprn2y8cL9NvLCbUg3689dCVByFAE19+KGVXKSEIKiHhWaw77YXb7A/Ror4vWWcxWXU6CsaoyJZdMWJFQSLR0TDnbNPttmC0O+sSJ6Qn3EaY9tUfWSxSrU6hvzd8JVmS1lNDX1tyXPfWwirFMdu0JHTtoTlnTFStfDsnVHmvdkx13+cj1mZlnBTiJTcEVzd3l/eYocS/Ez/pr+v0+/QCVqM8YbrW39iDAZXjzR5kI1GNWlgwOY/8GmKnnRP8XrPacLEq0V3KDnJN272xHgXUw8gFViN1R5dya0bYmQgKslV6KnIqBSCbK8HZI5kzyrhUClYQtZCM0gMJ0ywp5GUknUSkPnsiXGSS76U25Fkcq2lmmzQT5HaJIzXnRkaz1DhbFzFR/vObZakByPYoA9CQlXuCsJwIvpNd9A0w0MFQbwd9udnH1khLaSuqag3raE6agfe8ZUMj/wf8yBR+6PBLC/Ltwj8yhR85/Ar/yC78Y1P4Rw6/wh/ahT8whX/s8CuO0C78E1P4A4dfcbQs9QtN4Z84/NIytiz1m5rCHzr8Cr9lqV9dXzk//6njr/hblvsBYIq/ijQXADCwLPsD5ip/rvRXUrAs/wPGan/AFf+UdWJZBgiMVf+AK/+VAWBbDmis/gdcAbAMANuSQGMVQOBKgCVw25JAYzVA4IqAJXDbkkBjZSBvLJu+9I5cqC+PA//TKQGxSvFSNWNC8e4IvFa0tAPDgyjGJFxEvSiSliAKycPidVjDg6c9gH3YjWaEdj3ZAO0T4fZipqQNK9qTA9q9yOpFwDukjQ4e7SDo025+G2SGtrESj97bGrc66///3T054N1wfLvdbayiU/EONe7gI+AeHxzczVZu4UZmcRur33SO7jfHPSZhPBrCHcIHFATnObvRwNkdmH2aD1Vrjng2WnO6m3EcPRLxvIP3SS54JeeNnk98hrZKc2S+vvOGKh3vw3lDkWf2OXO8SHDaY+WmWK7F6qU54OmvgLxy1hu/AYLDt4Lpy14B4dn4Hq8BnMaX4yIh9znhCfnokBE6G2R5uf8LQWlr/RMDXf8F \ No newline at end of file diff --git a/media/range_merge.png b/media/range_merge.png new file mode 100644 index 0000000..9559e21 Binary files /dev/null and b/media/range_merge.png differ