1 about
Christian Moser edited this page 2026-10-25 18:22:13 +01:00

About your App

Setup dj_templates.about

First add dj_templates, dj_templates.tabs and dj_templates.about to your INSTALLED_APPS in your setup.py

...
INSTALLED_APPS = [
    ...
    `dj_templates`,
    `dj_templates.tabs`,
    `dj_templates.about`,
    ...
    `your_project_apps_here`
]

Then add either an djtt.py file with an ABOUT dictionary to your app directory or add an about.yaml or about.json to your application directory containing the dictionary data.

About dictionary

{
    "name": "The application name",
    "icon": "path/to/static/app-icon.png",
    "version": "0.0.29",
    "copyright": "short copyright notice like: \"© 2026 The Authors\"",
    "license": "License Spec like \"GPLv3\", \"BSD-1-Clause\" ...",
    "license_file": "License File (relative to your app directory like \"LICENSE.md\"",
    "description": "The projects description (Markdown supported)",
    "readme": "The README file (relative to the project directory",
    "authors": [
        {
            "name": "The name of the author",
            "email": "optional email address of the author"
        },
    ]
    "translators": {
      "language_code (like \"de\")": [
          {
              "name": "translator's name",
              "email": "optional email address of the translator"
          },
      ],
    },
    "maintainers": [
        {"name": "maintainer name", "email": "optional maintainer email address"},
    ],
    "pypi": "pypi package name",
    "repositories": [
      "https://codeberg.org/USER/REPO",
    ],
    "links": {
      "documentation": "https://doc-server.tld/path/to/documentation.html",
      "wiki": "https://wiki-server.tld/path/to/index/page.html",
      "homepage": "https://homepage-server.tld/",
      "repository": "https://repo-server/path/to/repository",
      "codeberg": "https://codeberg.org/USER/REPOSITORY",
      "github": "https://github.com/USER/REPOSITORY",
      "gitlab": "https://gitlab-server.tld/path/to/repository",
    },
}