Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

UNKNOWN

Project Description
# django-s3-collectstatic

This package includes a management command `fasts3collectstatic` that is
intended for use with the S3BotoStorage storage backend. When checking if a
file already exists it uses the S3 etag for comparison instead of the default
modified time. This is especially useful when deploying to Heroku, since Heroku
changes the modified time when deploying.

The code is based on [this Django snippet](http://djangosnippets.org/snippets/2889/)
with some fixes and packaging.


## Installation

Clone the [Git repository](https://github.com/agoodid/django-s3-collectstatic)
or use pip to install:

pip install git+git://github.com/AGoodId/django-s3-collectstatic.git#egg=django-s3-collectstatic

In `settings.py`:

STATICFILES_STORAGE ="storages.backends.s3boto.S3BotoStorage"
AWS_PRELOAD_METADATA = True

INSTALLED_APPS = [
# ...
'django_s3_collectstatic',
]
Release History

Release History

This version
History Node

1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-s3-collectstatic-1.0.tar.gz (3.2 kB) Copy SHA256 Checksum SHA256 Source Dec 1, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting