Django ACDH-CH functionality
Provide some default functionality for ACDH-CH Django instances.
Howto use
Install the app using your personal choice of Python package manager. Add the app to your Django's settings.py
INSTALLED_APPS += ["django_acdhch_functions"]
Call the django_acdhch_functions views from your urls.py:
urlpatterns += [path("", include("django_acdhch_functions.urls")),]
Functionality
Imprint
Provides an imprint route on /imprint. You have to set a REDMINE_ID in settings.
Matomo
Provides a {% matomo %} templatetag. You have to {% load django_adchch_functions %} to use it. It requires the variables matomo_url and matomo_id to be set in the PROJECT_METADATA dict:
PROJECT_METADATA = {
"matmom_url": "https://my.matomo.instance.tld",
"matmo_id": 23,
}
Metadata
Release files for django-acdhch-functions 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_acdhch_functions-0.1.4.tar.gz | 2.8 kB | Without provenance | Details for django_acdhch_functions-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_acdhch_functions-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for django_acdhch_functions-0.1.4-py3-none-any.whl |
Total release size: 7.8 kB
Release files / django_acdhch_functions-0.1.4.tar.gz
| Download URL | django_acdhch_functions-0.1.4.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ea8f9a2661c8eb0343bbc26c176aa07b06d6cff12fd629c936ecdd2ce1d78b6
|
|
BLAKE2b-256 checksum How to use checksums |
5c35f091bbc96f56bc4e61429ccaa76bf576336711b07b98c6c88132fba376da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / django_acdhch_functions-0.1.4-py3-none-any.whl
| Download URL | django_acdhch_functions-0.1.4-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
acd7f5dcfdbe4d92355200b61f742ec4911245972acb9fa36cf0880a8d0d38ba
|
|
BLAKE2b-256 checksum How to use checksums |
64e5edc5391d7fba31f93ed4a461bdfc1de719fc37b2d93e85a36654fb2f3b97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Security for django-acdhch-functions 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.