Skip to main content

Terra Nanotech Auth Templates

Version GitHub license Python Django pre-commit pre-commit.ci status Code Style: black Checks codecov Contributor Covenant Alliance Auth Compatibility

ko-fi

Terra Nanotech Template Overrides for Alliance Auth

TN-NT Auth Template



Important Information

Install

pip install tnnt-templates==5.1.0

In local.py right after INSTALLED_APPS:

# TN-NT Auth Templates - https://github.com/terra-nanotech/tn-nt-auth-templates
INSTALLED_APPS.insert(
    0, "tnnt_templates"  # Template overrides for Terra Nanotech Auth Templates
)

if "tnnt_templates" in INSTALLED_APPS:
    # Add TN-NT Auth Templates theme
    INSTALLED_APPS += [
        "tnnt_templates.theme.terra_nanotech",
    ]

    # Remove all other themes
    # If you want to use the TN-NT Auth Templates as the only theme,
    # you need to remove all other themes.
    INSTALLED_APPS.remove("allianceauth.theme.darkly")
    INSTALLED_APPS.remove("allianceauth.theme.flatly")
    INSTALLED_APPS.remove("allianceauth.theme.materia")

    # Load Terra Nanotech theme
    DEFAULT_THEME = (
        "tnnt_templates.theme.terra_nanotech.auth_hooks.TerraNanotechThemeHook"
    )

    # Add TN-NT Auth Templates context processor
    TEMPLATES[0]["OPTIONS"]["context_processors"].append(
        "tnnt_templates.context_processors.tnnt_settings"
    )

    # Add TN-NT Auth Templates settings
    TNNT_TEMPLATE_ENTITY_ID = 8154711  #  replace with your corp/alliance ID
    TNNT_TEMPLATE_ENTITY_TYPE = "corporation"  # default: "alliance"
    TNNT_TEMPLATE_ENTITY_NAME = "My Awesome Corp/Alliance"  # your corp/alliance name

Metadata

Release files for tnnt-templates 5.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tnnt-templates 5.1.0
File Size Uploaded Provenance Actions
tnnt_templates-5.1.0.tar.gz 12.0 MB With provenance Details for tnnt_templates-5.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tnnt-templates 5.1.0
File Interpreter ABI Platform Actions
tnnt_templates-5.1.0-py3-none-any.whl Python 3 none any Details for tnnt_templates-5.1.0-py3-none-any.whl

Total release size: 24.7 MB

Release files / tnnt_templates-5.1.0.tar.gz

Download URL tnnt_templates-5.1.0.tar.gz
Size 12.0 MB
Tags Source
SHA-256 checksum
How to use checksums
dc1194e4fe7831c2e51275a359d9b9f5693e7b22f777c5c6906d03b278154790
BLAKE2b-256 checksum
How to use checksums
2615432cfd5ca2bb76a127f1296b2d836b40d5ac12fc3a51c9f9678676e8dc7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

Release files / tnnt_templates-5.1.0-py3-none-any.whl

Download URL tnnt_templates-5.1.0-py3-none-any.whl
Size 12.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8f6300dbe12fbf26910848508b087e730839e76cb1bbaacee17c72a97a3a2a5a
BLAKE2b-256 checksum
How to use checksums
67b6136c477f49502ffd4f8ad2f4cc98c2d7622aeb5405d2ed1027327e9f1b77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

Security for tnnt-templates 5.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tnnt_templates-5.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

5.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page