Skip to main content

Django SaaS Attachments

The attachments module for building a SaaS product with Django.

Install

pip install django-saas-attachments

Then add it into your Django project settings.py:

INSTALLED_APPS = [
    # ...
    "saas",
    "saas_attachments",
]

SAAS_ATTACHMENTS = {
    "PROVIDERS": [
        {
            "backend": "saas_attachments.providers.s3.S3Provider",
            "options": {
                "name": "default",
                "bucket_name": "my-bucket",
                "region_name": "us-east-1",
                "access_key_id": "secret:AWS_ACCESS_KEY_ID",
                "secret_access_key": "secret:AWS_SECRET_ACCESS_KEY",
            }
        }
    ]
}

Features

  • Tenant Isolation: All attachments are linked to a tenant.
  • Async Uploads: Uses presigned URLs for direct-to-storage uploads.
  • Media Types: Specialized models for Image, Audio, and Video.
  • Provider Support: Extensible storage provider system (S3 included).
  • Cleanup: Built-in management command to clean up abandoned uploads.

Release files for django-saas-attachments 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-saas-attachments 0.1.0
File Size Uploaded
django_saas_attachments-0.1.0.tar.gz 17.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-saas-attachments 0.1.0
File Interpreter ABI Platform
django_saas_attachments-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 33.7 kB

Release files / django_saas_attachments-0.1.0.tar.gz

Download URL django_saas_attachments-0.1.0.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
567c68a2fef12e41b89a4ba2ad0a4273227c3d43e90e78d6bf10c3b1edd435d7
BLAKE2b-256 checksum
How to use checksums
4f8eda29369ffd199695b9d151e354b7aee86f1a91d8905c077efbf02897a5b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 10, 2026.

Transparency log

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

Download URL django_saas_attachments-0.1.0-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b333c996a2759a3124b48d7ea022faba447eb4a4c0f7d7ce8b45127984f48ab
BLAKE2b-256 checksum
How to use checksums
cca1d2ac20518657c905981bea40bd54cc07e449d484939e4f257891ab6f9daa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 10, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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