Group Django objects by similarity
Project description
Group Django model instances based on similar fields
Installation
- add
django_grouperto yourINSTALLED_APPS - add
path("", include("django_grouper.urls"))to yoururlpatterns - go to
/grouperand add the paramgroup_content_typeto specify which ContentType to group and the paramsgroup_fieldsto specify which fields to group by
Configuration
If you define a GROUP_FILTER in you settings, the queryset in the /grouper view will be passed through this filter. The filter is expected to
be a callable and will receive the queryset and the request as parameters. This means you can pass the queryset together with the request to a
django-filter filter.
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_grouper-0.3.0.tar.gz.
File metadata
- Download URL: django_grouper-0.3.0.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11ed289bb4ffa71700e0f0f8979e5fda167ecfa99795945f4e13b65a80a46a01
|
|
| MD5 |
6fc0b3eb2b9432a91cf751689cbf0d8c
|
|
| BLAKE2b-256 |
1dde8b73f20710fce322d912826dab237708d965587f19562bc4815ab20f688a
|
Provenance
The following attestation bundles were made for django_grouper-0.3.0.tar.gz:
Publisher:
publish.yml on acdh-oeaw/django-grouper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_grouper-0.3.0.tar.gz -
Subject digest:
11ed289bb4ffa71700e0f0f8979e5fda167ecfa99795945f4e13b65a80a46a01 - Sigstore transparency entry: 814569987
- Sigstore integration time:
-
Permalink:
acdh-oeaw/django-grouper@a1c0141b7ddcff9893de409150669a9c5c5ad703 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/acdh-oeaw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a1c0141b7ddcff9893de409150669a9c5c5ad703 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file django_grouper-0.3.0-py2.py3-none-any.whl.
File metadata
- Download URL: django_grouper-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37076965063ab6bef00754d4c7260f29f562d2f3e81ae44d7e7840f14136ec51
|
|
| MD5 |
6dbbf471ca74c139ae14609b22a0fe17
|
|
| BLAKE2b-256 |
3f724ee255870cf0e91bdcd9cf41fc96ac49912f743f50abff6f9ce46bb4114f
|
Provenance
The following attestation bundles were made for django_grouper-0.3.0-py2.py3-none-any.whl:
Publisher:
publish.yml on acdh-oeaw/django-grouper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_grouper-0.3.0-py2.py3-none-any.whl -
Subject digest:
37076965063ab6bef00754d4c7260f29f562d2f3e81ae44d7e7840f14136ec51 - Sigstore transparency entry: 814569990
- Sigstore integration time:
-
Permalink:
acdh-oeaw/django-grouper@a1c0141b7ddcff9893de409150669a9c5c5ad703 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/acdh-oeaw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a1c0141b7ddcff9893de409150669a9c5c5ad703 -
Trigger Event:
workflow_dispatch
-
Statement type: