Django CMS, Filer, and Cumulus for Cloud Files

583 Views Asked by At

I have django-cms set up with the cms plugin filer on a Rackspace cloud server. I have been reading and searching around and found cumulus. Is there a way to make all three work together in a way that I can use filer from the cms to upload via cumulus to Rackspace's Cloud Files service? Or is there a better method/module? I would really like to keep using django-cms as I like its interface and have already produced pages with it.

Clarification: How do I set up django-filer to use django-cumulus? I have tried adding STATICFILES_STORAGE = 'cumulus.storage.CloudFilesStorage' to my settings, but this just results in me not being able to add any cms plugins at all in the page editing in admin (not even Text).

2

There are 2 best solutions below

1
On

Have you tried setting DEFAULT_FILE_STORAGE to 'cumulus.storage.CloudFilesStorage'? The STATICFILES_STORAGE is only used in combination with manage.py collectstatic (and the django.contrib.staticfiles system in general), not uploaded files (such as used in django-filer and cmsplugin-filer.

0
On

I've decided to drop filer and just use the built-in file and image plugins provided by django-cms. They work just fine together.