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.1

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.1

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.1
File Size Uploaded Provenance Actions
tnnt_templates-5.1.1.tar.gz 7.0 MB With provenance Details for tnnt_templates-5.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 14.8 MB

Release files / tnnt_templates-5.1.1.tar.gz

Download URL tnnt_templates-5.1.1.tar.gz
Size 7.0 MB
Tags Source
SHA-256 checksum
How to use checksums
730289a75b68ef261bccaf809562ca9d596eab60836661ba18ad2ffdd0096fe0
BLAKE2b-256 checksum
How to use checksums
b3d21790a467ddc84c9d49ba3fd17d50b5969409dac707a2b7f9e1958fc64838
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 Nov 10, 2026.

Transparency log

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

Download URL tnnt_templates-5.1.1-py3-none-any.whl
Size 7.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
5a74180f410ae421d6e7618c7e177a6f5c038b9573612f0bc53f8443494f8e2d
BLAKE2b-256 checksum
How to use checksums
810bad8d31878c5125d2dc29c8c8d07024c02d63deb6a08515d573be1c9b5795
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 Nov 10, 2026.

Transparency log

Security for tnnt-templates 5.1.1

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.1.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 Nov 10, 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.1 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