Storing files to Google Cloud Storage or Amazon S3 using Python 3.4

86 views
Skip to first unread message

Some Developer

unread,
Dec 27, 2014, 3:16:32 PM12/27/14
to django...@googlegroups.com
I know about Django storages (which is not compatible with Python 3.4)
and Django storages redux (which is compatible with Python 3.4 but gives
an error when trying to use it to sync static files to Amazon S3).

I'm really looking for another alternative to store my static files and
my media files to either Google Cloud Storage or Amazon S3. Both of the
options that I tried gave me problems so I am looking for something else.

Does anyone know if there are any other choices out there that are
compatible with Python 3.4?

It is essential that I store my files to one of these services since I
have gigabytes of stuff to store and there just isn't enough room on my
app servers to store all the content (and it makes backing up difficult).

Any help is appreciated.

Vijay Khemlani

unread,
Dec 27, 2014, 4:47:35 PM12/27/14
to django...@googlegroups.com
What error are you getting when using storages-redux?



--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/549F1369.2010900%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.

Some Developer

unread,
Dec 27, 2014, 7:04:57 PM12/27/14
to django...@googlegroups.com
On 27/12/14 21:47, Vijay Khemlani wrote:
> What error are you getting when using storages-redux?
>

Hmm. Seems I have managed to fix it. Not entirely sure what I was doing
wrong before though.

Anyway for future reference django-storages-redux and the latest version
of boto with Python 3.4.2 seems to work as expected.

I had to sub-class the S3BotoStorage class in order to separate out
the media files from the static files but after a bit of testing that
also seems to be working fine.
Reply all
Reply to author
Forward
0 new messages