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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56c0f12da49bc02170ff905c417332d6db05c94e8444aa92059211ab2d2dccad |
|
MD5 | e08b2cebcfcbb8eba8ecfb925b7e2eb2 |
|
BLAKE2b-256 | a0b1ee603ae4a93af3b645e468e72c7d615c618a4143dbeaaa0da690b2916435 |
Close
Hashes for django_acdhch_functions-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 826d0709d3bee627b3a4c88399894c76d741874699c5dad6299f62a208df73c1 |
|
MD5 | 6f579e4cee211b1b841f2aefac31f9c0 |
|
BLAKE2b-256 | 69a231532f9baf9a98bd31490f8b056421083a62b2e4bb39f4e923107681948c |