Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install collectfast

How to install Collectfast

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install collectfast
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
0.1.11 Available View build log
Linux (32-bit)
0.1.11 Available View build log
Linux (64-bit)
0.1.11 Available View build log
 
Author
License
Creative Commons Attribution-ShareAlike 3.0 Unport
Lastest release
version 0.1.11 on Jul 26th, 2013

[![Downloads](https://pypip.in/v/Collectfast/badge.png)](https://pypi.python.org/pypi/Collectfast)

The fast collectstatic for Django-apps with S3 as storage backend.

Custom management command that compares the MD5 sum and etag from S3 and if the two are the same skips file copy. This makes running collect static MUCH faster if you are using git as a source control system which updates timestamps.

Installation

Install the app using pip:

pip install Collectfast

Make sure you have this in your settings file and add 'collectfast' to your INSTALLED_APPS:

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

System Message: ERROR/3 (<string>, line 25)

Unexpected indentation.
… 'collectfast',

System Message: WARNING/2 (<string>, line 27)

Block quote ends without a blank line; unexpected unindent.

)

Usage

Collectfast overrides Django's builtin collectstatic command so just run python manage.py collectstatic as normal. You can disable collectfast by using the --ignore-etag option.

Cred

Original idea taken from [djangosnippets](http://djangosnippets.org/snippets/2889/)

<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-sa/3.0/88x31.png" /></a> <br /> <span xmlns:dct="http://purl.org/dc/terms/" property="dct:title"> <a xmlns:dct="http://purl.org/dc/terms/" href="https://github.com/FundedByMe/collectfast/" rel="dct:source"> Collectfast </a> </span> by <a xmlns:cc="http://creativecommons.org/ns#" href="http://www.fundedbyme.com/" property="cc:attributionName" rel="cc:attributionURL">FundedByMe</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0 Unported License</a>.

Subscribe to package updates

Last updated Jul 26th, 2013

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.