Skip to content

Commit

Permalink
Add visual of range_merge functionality to Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jacklinke committed Oct 9, 2022
1 parent becf7cf commit 8abb164
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion django_range_merge/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions media/range_merge.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<mxfile host="Electron" modified="2022-10-09T07:21:50.170Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/14.6.13 Chrome/89.0.4389.128 Electron/12.0.7 Safari/537.36" etag="4fCrKxnraXQGh-XUZ5WN" version="14.6.13" type="device"><diagram id="ewEz2UDD1fQI_PJAwKHi" name="Page-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</diagram></mxfile>
Binary file added media/range_merge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8abb164

Please sign in to comment.