Skip to main content

Unmanaged Django Models for Forgejo

PyPI Version PyPI License PyPI Status Gitea Stars

Installation

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

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

# Add django_unmanaged_forgejo to installed apps
INSTALLED_APPS = [
    "myapp",
    "django_unmanaged_forgejo",  # << 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_forgejo'
    # for the module to use with the router
    "django_unmanaged_forgejo": env.db_url("DATABASE_FORGEJO", default=None),
}

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

Metadata

Release files for django-unmanaged-forgejo 0.5.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-forgejo 0.5.0
File Size Uploaded Provenance Actions
django_unmanaged_forgejo-0.5.0.tar.gz 4.2 kB Without provenance Details for django_unmanaged_forgejo-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 9.4 kB

Release files / django_unmanaged_forgejo-0.5.0.tar.gz

Download URL django_unmanaged_forgejo-0.5.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
cae9979b64f40bcf67512edb2c318ced3814084194507b933963bcb46b30ccb1
BLAKE2b-256 checksum
How to use checksums
f1d0cf355d4534683b3b2955b79adb067f3328132cdebdccbb996ecf32ec3f94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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_forgejo-0.5.0-py3-none-any.whl

Download URL django_unmanaged_forgejo-0.5.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
233e8de24185f9c67ee3e04bb851af40041fc563bebf98e1964d4a801ded2264
BLAKE2b-256 checksum
How to use checksums
1d545698ba324a5eba91567a6f30be5900e716830859a2cd1dbbdc2395d4b582
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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-forgejo 0.5.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.

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