Skip to main content

No project description provided

Project description

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,
}

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

django_acdhch_functions-0.1.4.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

django_acdhch_functions-0.1.4-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file django_acdhch_functions-0.1.4.tar.gz.

File metadata

File hashes

Hashes for django_acdhch_functions-0.1.4.tar.gz
Algorithm Hash digest
SHA256 9ea8f9a2661c8eb0343bbc26c176aa07b06d6cff12fd629c936ecdd2ce1d78b6
MD5 adbeabd0126576adce6a888f8a53565a
BLAKE2b-256 5c35f091bbc96f56bc4e61429ccaa76bf576336711b07b98c6c88132fba376da

See more details on using hashes here.

File details

Details for the file django_acdhch_functions-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for django_acdhch_functions-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 acd7f5dcfdbe4d92355200b61f742ec4911245972acb9fa36cf0880a8d0d38ba
MD5 8a0d449297a88c1a519383cc37dcb0dc
BLAKE2b-256 64e5edc5391d7fba31f93ed4a461bdfc1de719fc37b2d93e85a36654fb2f3b97

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page