I'm trying to attach in a model a file that is currently not on the disk, but exist in memory.
The model use django-filer, if I pass a regular file it works, with io stream it fails.
def test_save_bytesio():
from PIL import Image
import io
from…
I receive the following 500 http error when attempting to upload a file via the django-cms Filer admin in my app deployed to Elastic Beanstalk:
In browser console, coming from fileuploader.min.js:26:
POST…
In a Django CMS project with Filer enabled, the Admin dashboard for Filer allows you to create custom Thumbnail Options, similar to defining an alias using easy-thumbnails.
How do I access these options in templates?
{{ obj.image.thumbnails }}…
I tried to do filtering for the extension field, which is actually not a field at all as the following example suggests. For the sake of this example, let's imagine we have a running Django with django-filer installed and some file already…
I have tried to override the default templates in cmsplugin-filer but I had no luck so far. Anytime we use the Link plugin within the CMS there is an option where we can select the template but it always says Default. How can I add templates to that…
I'm having an issue trying to migrate content from my local development django cms with sqlite3 backend to AWS, with postgres. I'm using the following command to dump all the page data, titles, plugins and presumably, the filer images
manage.py…
I after much gnashing of teeth found out my uploads were working just that I was getting a request entity to large 413 error I wasn't seeing. The django app is running under apache mod_wsgi, and I am no apache guru so i am not sure what I need to…
I created a plugin with a field in models:
picture = FilerImageField(related_name="gallery_image")
Now, when I try to add the plugin to a placeholder, window opens when I can add a picture. So I click "Add file" and new page opens with a list of…
So i have django 1.8.9 and django-filer and i started running into this problem
insert or update on table "filer_clipboard" violates foreign key constraint "filer_clipboard_user_id_2b30c76f2cd235df_fk_auth_user_id"
DETAIL: Key (user_id)=(67) is not…
We use django-filer 0.9.8 for our image uploads. Now we'd like to programatically add some images to the catalog and move them to filter category.
I managed to get the creation and saving of a FilerImage working, but when I check the admin all the…
All new to Django, I want to write tests for an IndexView and a DetailView in analogy to the Django tutorial.
I have a model that contains a FilerImageField as mandatory field (blank=False).
In order to test my views related to that model, I want…
Is it possible to get the absolute URL of a file just uploaded with Django Filer?
My problem is this:
I'm using Django Filer to upload music. I then want to submit this file to Django Celery to upload to Mixcloud using their API. But..
I can't…
I am running django 1.6, django-storages and s3. All of these seem to be working fine. When I upload an image it goes to s3 as expected. I am trying to use django-filer, however I can't upload any images.
When I click upload, nothing happens at…
Let's say I am selecting 10 files to be uploaded using django-filer. They initially have very random names. I'd like to have a set of rules according to which they ought to be renamed and only then passed for further processing (thumbnails etc.).
I…