Questions tagged [django-filer]
File and Image Management Application for Django.
django-filer
79
questions
0
votes
0
answers
23
views
HTTP 413 error uploading large file on apache
Using django-filer admin file manager to upload 2GB large file. On the same windows machine, works OK in vscode development environment, but return http 413 on apache ssl enabled http server. And ...
0
votes
2
answers
29
views
How to fix django-filer 404 error on DigitalOcean?
I have a django-cms app running on DigitalOcean. Creating folders and uploading files with filer works perfectly.
When downloading the uploaded files I get a 404 Error - for example on this url:
https:...
2
votes
2
answers
156
views
How to write a django migration to replace djangos own django.db.models.FileField instance by a django-filer filer.models.Image instance?
Originally my models.py had a field named image using django's models.FileField as seen below:
from django.db import models
class Company(models.Model):
image = models.ImageField(upload_to='...
0
votes
1
answer
244
views
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 ...
0
votes
1
answer
131
views
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 &...
2
votes
0
answers
366
views
An admin for model "CustomUser" has to be registered to be referenced by FolderAdmin.autocomplete_fields
I am trying to install django-filer and after following the installation docs(pip install, add to INSTALLED_APPS etc), when I try run my dev server I get the following error in the terminal...
ERRORS:
...
0
votes
1
answer
640
views
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 ...
0
votes
1
answer
109
views
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:
...
0
votes
0
answers
294
views
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 ...
0
votes
1
answer
674
views
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
...
0
votes
1
answer
136
views
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....
2
votes
0
answers
115
views
Failing django migrate from ProcessedImageField to FilerImageField
I currently have a model for reusable images:
class Image(models.Model):
class Meta:
verbose_name = _('Image')
verbose_name_plural = _('Images')
name = models.CharField(
...
1
vote
0
answers
259
views
Use production media files in development - Django
I have a blog made with Django (and Django-CMS). Some times, when working in development, I make some changes and it would be nice to see how those changes that I'm doing look like with the actual ...
-1
votes
1
answer
215
views
Django filer thumbnail's path
I've created a custom User model based on AbstractUser model. How can I find the right path to my thumbnail to use in a template file ?
models.py
class User(AbstractUser):
photo = FilerImageField(...
1
vote
1
answer
130
views
How to stop creation of new File when call save in django?
I am using Django Model like :
pickle_embedding_file=models.FileField(upload_to='pickle_embedding/',blank=True,null=True)
Whenever I call below function:
def set_pickle_embeddingFile(self,dict):...