Skip to main content

Django Simple DB Storage

A very simple app implementing the Django storages API, storing files in a database. A very simple view is provided for downloading files.

Getting Started

  1. Install the django-simpledbstorage pip package
  2. Add the app to your project's INSTALLED_APPS, and urls
  3. Set DEFAULT_FILE_STORAGE to 'simpledbstorage.storage.DatabaseStorage'
  4. Set your MEDIA_URL, if relevant to you

Example

In settings.py:

DEFAULT_FILE_STORAGE = 'simpledbstorage.storage.DatabaseStorage'
INSTALLED_APPS.append('simpledbstorage')
MEDIA_URL = '/{}{}/'.format(BASE_PATH, 'files/')

In urls.py or wherever your URLconf lives:

urlpatterns = [
  url(r'^files/', include('simpledbstorage.urls'))
]

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Metadata

Release files for django-simpledbstorage 0.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 django-simpledbstorage 0.1.1
File Size Uploaded Provenance
django-simpledbstorage-0.1.1.tar.gz 3.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for django-simpledbstorage 0.1.1
File Interpreter ABI Platform
django_simpledbstorage-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.8 kB

Release files / django-simpledbstorage-0.1.1.tar.gz

Download URL django-simpledbstorage-0.1.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ef1982afaf537a54cd2d7c536866c61309d89e148555cdf08a055e79654f3e33
BLAKE2b-256 checksum
How to use checksums
511b105dbe2228ea42aa3f7bb3e7b1c3aa56c465975d15ea56b78ef42a633d74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

Release files / django_simpledbstorage-0.1.1-py3-none-any.whl

Download URL django_simpledbstorage-0.1.1-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9a0fe2fd9d21235aff5c40db2043ddd5f16cdc707213993024613874a1c3c67
BLAKE2b-256 checksum
How to use checksums
ae5c03cfe64f1e71bca8de4097b2eb6d18b082c49ff5f0b530bac695a59b9a83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

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

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