Skip to content
This repository was archived by the owner on Aug 19, 2026. It is now read-only.

v0.2.5

Choose a tag to compare

@G4brym G4brym released this 13 Dec 19:40
· 39 commits to main since this release

What's Changed

MEDIA_URL = 'https://pub-xxxxx.r2.dev/'

STORAGES = {
    "default": {
        "BACKEND": "django_cf.storage.R2Storage",
        "OPTIONS": {
            # The binding name must match the one in wrangler.jsonc
            "binding": "BUCKET",
            # Optional: prefix for all files
            "location": "media",
            # Optional: allow overwriting existing files (default: False)
            "allow_overwrite": False,
        }
    },
    "staticfiles": {
        "BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage",
    },
}

Full Changelog: v0.2.3...v0.2.5