django-s3-storage
Django Amazon S3 file storage.
Decision gist · record as of 2026-08-14
Yes, if you are running Django on AWS and need S3 file storage. The package is stable, has no vulnerabilities, and low install friction. However, maintenance is dormant (last release over a year ago), so verify compatibility with your specific Django and Python versions before adopting. For new projects, consider whether an actively maintained alternative better suits your timeline.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires AWS credentials (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY) and an existing S3 bucket to be configured before use.
- Low install friction with a pure-Python wheel.
- Maintenance is dormant—last release was over a year ago (2023-11-04) and last commit in September 2024—but the package remains stable and has no known vulnerabilities.
License · maintenance · safety
BSD (permissive) — BSD license is permissive, allowing commercial and private use with minimal restrictions.
last release 2023-11-04 (1014 days) · last repo commit 2024-09-08 · 435 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 103,082 downloads/mo, #12,831 on PyPI
Alternatives
Verify before relying
pip install django-s3-storage
# In settings.py:
INSTALLED_APPS = ['django_s3_storage']
DEFAULT_FILE_STORAGE = 'django_s3_storage.storage.S3Storage'
AWS_S3_BUCKET_NAME = 'your-bucket'
AWS_REGION = 'us-east-1'
# In models.py:
from django.db import models
class MyModel(models.Model):
file = models.FileField()- Whether the package supports Django versions beyond 4.1 (classifiers list only up to 4.1).
- Whether Python 3.11+ is supported despite classifiers only listing up to 3.10.
- Current compatibility with modern boto3 versions and any breaking changes.
What it is and what it does
django-s3-storage is a Django file storage backend that integrates Amazon S3 as the storage layer for both media files and static files. It sits between Django's file operations and boto3, translating Django's storage API calls into S3 operations. The package handles authentication via AWS credentials, URL generation with optional signed URLs, content encoding (gzip), server-side encryption (AES256 or KMS), and metadata management. It provides two main storage classes: S3Storage for regular media files and StaticS3Storage or ManifestStaticS3Storage for static assets.
You configure it through Django settings (bucket name, region, authentication, caching behavior) and optionally per-field in model definitions. It supports both private files (authenticated URLs) and public files (direct S3 URLs), making it suitable for applications that need to offload file storage to S3 while keeping the Django ORM and file field API unchanged.
Use it for
- Store user-uploaded media files (images, documents) in S3 instead of the application server's filesystem.
- Serve Django static files (CSS, JavaScript) from S3 with aggressive caching and optional CDN integration.
- Implement private file access with time-limited signed URLs for confidential documents.
- Enable horizontal scaling by removing filesystem dependencies from application servers.
- Configure per-bucket encryption and metadata policies for compliance or performance tuning.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are running Django on AWS and need S3 file storage.
The package is stable, has no vulnerabilities, and low install friction. However, maintenance is dormant (last release over a year ago), so verify compatibility with your specific Django and Python versions before adopting. For new projects, consider whether an actively maintained alternative better suits your timeline.
Install
django-s3-storage on PyPI
Before you install
Low install friction with a pure-Python wheel. Maintenance is dormant—last release was over a year ago (2023-11-04) and last commit in September 2024—but the package remains stable and has no known vulnerabilities.
Requires AWS credentials (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY) and an existing S3 bucket to be configured before use.
License in practice
BSD license is permissive, allowing commercial and private use with minimal restrictions.
Quickstart
pip install django-s3-storage
# In settings.py:
INSTALLED_APPS = ['django_s3_storage']
DEFAULT_FILE_STORAGE = 'django_s3_storage.storage.S3Storage'
AWS_S3_BUCKET_NAME = 'your-bucket'
AWS_REGION = 'us-east-1'
# In models.py:
from django.db import models
class MyModel(models.Model):
file = models.FileField()
Verify before relying
- Whether the package supports Django versions beyond 4.1 (classifiers list only up to 4.1).
- Whether Python 3.11+ is supported despite classifiers only listing up to 3.10.
- Current compatibility with modern boto3 versions and any breaking changes.
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesdjangoboto3 |
| Maintenance | Dormant 1,014 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 103,082 / month, #12,831 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 3.2Framework :: Django :: 4.0Framework :: Django :: 4.1Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: django_s3_storage-0.15.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “django s3 file storage”
- django-s3-storageProvides Django file storage backends that read from and write to…
- CollectfastaCollectfasta speeds up Django's collectstatic command by using cached…
- CollectfastCollectfast accelerates Django's collectstatic command by using…
Give your agent the search over MCP, or paste the wish link into any chat.
More Dynamic Content packages
MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.
Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.
Soupsieve is a CSS selector library designed to work with Beautiful Soup 4 to select, match, and filter HTML and XML elements using modern CSS selectors from CSS level 1 through CSS level 4 specifications.
Install it if you use Beautiful Soup for HTML or XML parsing and want modern CSS selector support.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.
Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.
See also django-private-storage · synapse-s3-storage-provider · django-cloudinary-storage · django-dbbackup · Collectfasta · s3cmd · dvc-s3 · Collectfast · s3fs · fs-s3fs