Permalink
Commits on Dec 1, 2016
  1. version bump

    committed Dec 1, 2016
Commits on May 17, 2016
  1. add @mishbahr's django-staticgen

    committed May 17, 2016
  2. note that this project isn't really maintained.

    link out to @datadesk's django-bakery, @alsoicode's fork, and @fabiocaccamo's django-freeze.
    
    re: #23 #24 #25
    committed May 17, 2016
Commits on Jan 23, 2016
Commits on Oct 17, 2014
  1. 0.3.0, with fixes for python3

    committed Oct 17, 2014
Commits on Oct 16, 2014
  1. Merge pull request #12 from kezabelle/master

    Python 3 support
    committed Oct 16, 2014
Commits on Jan 5, 2014
  1. open() needs to use ‘wb’ under py3 to avoid raising a TypeError about…

    … receiving bytes rather than str.
    kezabelle committed Jan 5, 2014
  2. assume py2 by default, but if it fails, import the py3 stringIO and h…

    …ope for the best.
    
    doesn’t rely on six, or django’s vendored version of it.
    kezabelle committed Jan 5, 2014
  3. without configuring the `MEDUSA_RENDERER_CLASS`, the staticsitegen co…

    …mmand will fail
    
    with an ImportError, rather than the NotImplementedError we expect.
    kezabelle committed Jan 5, 2014
Commits on Jul 31, 2013
  1. note MEDUSA_AWS_STORAGE_BUCKET

    committed Jul 31, 2013
  2. Merge branch 'custom-bucket' of github.com:jimray/django-medusa into …

    …jimray-custom-bucket
    committed Jul 31, 2013
Commits on Jun 5, 2013
  1. Fixes #10: correct app name for INSTALLED_APPS instructions in the re…

    …adme
    Antti Kaihola committed Jun 5, 2013
Commits on Aug 22, 2012
  1. Allow for medusa-specific AWS buckets

    Currently, Medusa uses the same config variables that other S3
    utilities use. This means using the same S3 bucket for file uploads,
    for instance, that Medusa would use for its static site. It's possible
    that a Medusa user may want to specify one S3 bucket for her static
    site and another for file storages, for instance.
    
    This patch introduces an optional configuration variable called
    MEDUSA_AWS_STORAGE_BUCKET_NAME. If this variable is set, Medusa will
    use it instead of the standard S3 bucket. If there is no
    MEDUSA_AWS_STORAGE_BUCKET_NAME set, then Medusa will fall back on the
    standard AWS_STORAGE_BUCKET_NAME configuration variable.
    
    This code uses conditional expressions, which requires Python 2.5 (
    http://docs.python.org/whatsnew/2.5.html#pep-308-conditional-expressions
     ). Since Django 1.4 itself requires Python 2.5, that seems ok, but if
    Medusa needs to support older versions of Python, the conditional
    expressions can be rewritten as standard if statements.
    
    I imagine this could be extended to allow for other custom AWS
    credentials, e.g. MEDUSA_AWS_ACCESS_KEY but that scenario seems less
    likely than the desire to have the static site in one bucket and user
    uploaded files in another.
    jimray committed Aug 22, 2012
Commits on Jul 5, 2012
  1. Merge pull request #2 from rlander/master

    Check if generated file was modified before uploading to S3
    committed Jul 5, 2012
  2. Oops, forgot to close the temporary file.

    Rodrigo Landerdahl committed Jul 5, 2012
  3. Check if generated file was modified before uploading to S3, skips if…

    … unmodified.
    
    Check if generated file was modified before uploading to S3.
    Refactoring : #_s3render_path now only responsible for checking etags,
    generating paths and generating static files; #_upload_to_s3
    responsible for actual uploading.
    Rodrigo Landerdahl committed Jul 5, 2012
Commits on Jul 2, 2012
  1. Merge pull request #1 from rlander/master

    Importlib dependency
    committed Jul 2, 2012
  2. Remove importlib dependency, add django's own importlib

    Rodrigo Landerdahl committed Jul 2, 2012
Commits on Jun 30, 2012
  1. tutorial link

    committed Jun 30, 2012
  2. tutorial

    committed Jun 30, 2012
  3. tutorial/example

    committed Jun 30, 2012
  4. make this installable

    committed Jun 30, 2012
Commits on Nov 30, 2011
  1. remove wait for cloudfront clear

    committed Nov 30, 2011
Commits on Nov 9, 2011
  1. custom error page

    committed Nov 9, 2011
  2. cloudfront invalidation

    committed Nov 9, 2011
Commits on Nov 8, 2011
  1. use python instead of python27

    committed Nov 8, 2011
  2. A Google App Engine renderer class that configures a barebones app.ya…

    …ml file which uploads the site as static files.
    committed Nov 8, 2011