Metadata-Version: 2.1
Name: dj-bucket
Version: 0.1.2
Summary: Use your database as a S3 storage
Author-Email: Benjamin Hirschfield <me@bennybarry.com>
License: MIT
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Python: <4,>=3.11
Requires-Dist: django<6.0,>=4.1
Description-Content-Type: text/markdown

# dj-bucket

Store blobs into a database table.

## Setup

In your configuration add the dj-bucket app to the installed apps:

```python
INSTALLED_APPS: = [
    "dj_bucket",
]

BUCKET_PATH = "bucket/"
```

Then make sure a database backend is setup, for testing you can use the SQLite:

```python
DATABASES = {
    "default": {
        "ENGINE": "django.db.backends.sqlite3",
        "NAME": BASE_DIR / "db.sqlite3",
    }
}
```

Run the Django database migrations to create the table that will store the
blobs.
