Skip to main content

Unmanaged Django Models for Mastodon

PyPI - License PyPI - Version

Installation

uv add django-unmanaged-mastodon
# or
pip install django-unmanaged-mastodon

Configure settings.py with correct INSTALLED_APPS, DATABASES, and DATABASE_ROUTER

# Add django_unmanaged_mastodon to installed apps
INSTALLED_APPS = [
    "myapp",
    "django_unmanaged_mastodon", # << Add to installed apps
    # Django
    "django.contrib.admin",
    "django.contrib.auth",
    "django.contrib.contenttypes",
    "django.contrib.sessions",
    "django.contrib.messages",
    "django.contrib.staticfiles",
]

# https://docs.djangoproject.com/en/6.0/ref/settings/#databases
DATABASES = {
    "default": env.db_url(
        var="DATABASE_URL",
        default=f"sqlite:///{BASE_DIR}/db.sqlite3",
    ),
    # Configure additional database connection named 'django_unmanaged_mastodon'
    # for the module to use with the router
    "django_unmanaged_mastodon": env.db_url("DATABASE_MASTODON", default=None),
}

# https://docs.djangoproject.com/en/6.0/ref/settings/#database-routers
# Add the provided router
DATABASE_ROUTERS = ["django_unmanaged_mastodon.router.Router"]

Metadata

Release files for django-unmanaged-mastodon 0.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 django-unmanaged-mastodon 0.1.0
File Size Uploaded Provenance Actions
django_unmanaged_mastodon-0.1.0.tar.gz 1.9 kB Without provenance Details for django_unmanaged_mastodon-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-unmanaged-mastodon 0.1.0
File Interpreter ABI Platform Actions
django_unmanaged_mastodon-0.1.0-py3-none-any.whl Python 3 none any Details for django_unmanaged_mastodon-0.1.0-py3-none-any.whl

Total release size: 5.5 kB

Release files / django_unmanaged_mastodon-0.1.0.tar.gz

Download URL django_unmanaged_mastodon-0.1.0.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f1dbb654725eb7ddc298232686fcb6a92a974cf6c4eb717c0b630f7516dbfb66
BLAKE2b-256 checksum
How to use checksums
349a6fb3dce9f90970a286c606d9681453d915252e8689385f184f2f7b48532c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / django_unmanaged_mastodon-0.1.0-py3-none-any.whl

Download URL django_unmanaged_mastodon-0.1.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec9a1325206ba8128f9236c1c77e71a53dcfeeb76446226fc2f91c13c3e63534
BLAKE2b-256 checksum
How to use checksums
d35128a4a9d5e33eed5f209dc18c0395ad7c79d299fe089a1b3382d4df5aeb97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for django-unmanaged-mastodon 0.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

0.1.0 This release

2 release files No 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