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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0e1cbda92d9b6926f30f47df9ab42fabc80d6b08c97b91351c1849ac1326f7a |
|
MD5 | ed739dedc6c187d0bda43dfd1b9327bd |
|
BLAKE2b-256 | feaee11c33589fe1fdc8d641e47e43b297f9cd8896c1eeec74d8ebee7b191b8c |
Close
Hashes for django_acdhch_functions-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fc01cad2c66e687832b22224c2cf3410d805e204cd80129b04e2b60ab061297 |
|
MD5 | 36cdc2876a83e3ba3c395586a46c8576 |
|
BLAKE2b-256 | 872987b654af924334794ccad1e1567275bf1222f22a2f637a73af00de803700 |