Questions tagged [django-filer]

File and Image Management Application for Django.

Makes handling of files and images a breeze.

See github project.

78 questions
0
votes
0 answers

Delete method applied on QuerySet calls method from DB Models

Delete method applied on after I filter the objects filer_files = File.objects.filter(owner_id__in=user_ids) filer_files.delete() calls method from DB model File…
Andrei Lupuleasa
  • 2,677
  • 3
  • 14
  • 32
0
votes
1 answer

How to generate single thumbnail file using easy-thumbnails library in Django

I am using django-filer module using which I am uploading jpg/png images to the django project. Django-filer is internally using easy-thumbnails which doesn't support webp format. So they have provided a work around as…
0
votes
1 answer

Django cms filer fails to upload file

While trying to upload a file using django cms filer I am getting the following error `*Internal Server Error: /admin/filer/clipboard/operations/upload/1/ Traceback (most recent call last): File…
Oleg Rud
  • 11
  • 1
0
votes
1 answer

Django filer - PolymorphicTypeInvalid ContentType 37 does not point to a subclass

I am using django-filer to handle uploading images in my Django app. I am currently trying to load data from MySQL to PostgreSQL database. I have used the following commands to get data from MySQL and move it t PostgreSQL: python manage.py dumpdata…
Adrian
  • 725
  • 4
  • 18
0
votes
1 answer

Saved image cannot be displayed in Django filer

I'm having a problem viewing uploaded images in Django filer. The images can be uploaded without any problems and will also be saved in the specified folder. After that it will be shown as follows: Screenshot filer page When I then click on expand I…
0
votes
0 answers

AWS CLI S3 sync corrupts png images on download

I have images successfully uploaded using django filer. I know it is a success because the images are viewable through my browser directly on the S3 storage endpoint. When I try and sync the uploaded files to a different desktop the images are 1kb…
johan
  • 998
  • 6
  • 20
0
votes
1 answer

Failed - No file Downloading uploaded files in Django

I have a model here in Django in which an entity can have several uploaded files: from django.db import models from model_utils.models import TimeStampedModel from .managers import ProviderManager class Provider(TimeStampedModel): full_name =…
0
votes
1 answer

Django-filer PIL convert and override original

To replace the original file with a converted to webp version I've done the follow in my models.py: django==2.2.17 django-filer==2.0.2 Pillow==8.0.0 class Provaa(File): data = models.DateTimeField(auto_now=True,) class Meta: …
user2239318
  • 2,578
  • 7
  • 28
  • 50
0
votes
1 answer

Django-filer, URL that is 'seperate' from admin

I am trying to set up django-filer on my website. I cannot figure out how to get the URLS to be separate from the admin site on the website. localhost:8000/admin/filer/folder/ Is where it wants to go now, which of course requires someone to have…
Codejoy
  • 3,722
  • 13
  • 59
  • 99
0
votes
1 answer

How to use PythonAnywhere SFTP to store uploaded files to get past file size limitations in Django Filer?

I am currently working on a Django website project in PythonAnywhere where users can upload files using Django Filer in the admin. I have successfully implemented it with the public Django filer settings. However, it seems I cannot upload files…
JcoOnline
  • 243
  • 2
  • 13
0
votes
1 answer

Django "dirty-edit" file manager issue

I need something simple to edit files on my server from the admin interface. I found this application https://github.com/synw/django-dirtyedit and followed all the stes to install it and it seemed fine at first sight but when I try to add any file…
alexanderk409
  • 138
  • 1
  • 12
0
votes
2 answers

How to select a random file from a folder that where uploaded with django-filer

I use django-cms for a project and in the frontend (template) I want to select a random image from a folder. The media is managed by django-filer. I know how to use the files when I assign them directly in my models, but I can't figure out if and…
thomas
  • 1,446
  • 8
  • 20
0
votes
1 answer

How can i use both easy thumbnails and sorl-thumbnail in the same django projects yet they have the same template tags?

I have this project where im using sorl-thumbnail to resize and crop my images on the template, in the same project i happen to use django CMS to manage my content, the problem is Django CMS needs 'easy-thumbnails for its filer app both apps use…
gathagu
  • 195
  • 4
  • 14
0
votes
0 answers

Why do I get AttributeError when trying to open a folder in django cms filer manager?

I have a fresh install of django cms and when I try to create a folder and add images to it using the filer app it just gives me the error: AttributeError at /en/admin/filer/folder/1/list/ 'str' object has no attribute '_meta' it looks like the…
Spencer Cooley
  • 8,471
  • 16
  • 48
  • 63
0
votes
0 answers

File size upload restrictions in Django when using Django-filer

I have no idea where else to post this, I am using django-filer (https://django-filer.readthedocs.io/en/latest/) and running into limits when trying to upload files. The problem is the software fails silently and does not give any errors and acts…
Codejoy
  • 3,722
  • 13
  • 59
  • 99