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
Built Distribution
Close
Hashes for django_acdhch_functions-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4831202880d07c757db1845c125d2e5fd594583ce3879bc27eb9bf145edc7698 |
|
MD5 | 99c2dbd45bd900a6edde5f8db02479dc |
|
BLAKE2b-256 | 276b3a671be27940bd4156c2d881214965c4388611bbe07d91a13d253b52497b |
Close
Hashes for django_acdhch_functions-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eec4eb77b3ce48431097446ed921c4b8e2af5a915ed90a18465d06f9360651db |
|
MD5 | db3e7ebf6aee01fce1dad6250d594565 |
|
BLAKE2b-256 | c6374a8ed36da989606ddcd37b52ae6e0be089b89d59ffd379ad8321d828cb8a |