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
1 answer

Django filer image related to another model, i.e. is it being used?

I am creating a cleanup script for Django Filer, so that if an image is not in use, e.g. it's not related to any other model, then I'd like to delete the image. I can't figure out how to detect if the image is related to any other objects though.…
tdsymonds
  • 1,679
  • 1
  • 16
  • 26
0
votes
2 answers

django-filer - AttributeError: 'Manager' object has no attribute '_inherited'

I'm trying to install django-filer. But when I run manage.py migrate I get AttributeError: 'Manager' object has no attribute '_inherited'. I don't know what that means. (I started this project with Heroku starter template…
user6285978
0
votes
1 answer

django cms filer uploads fail

[Update] I've managed to upload a small file (but not yet a large image). ../media/filer_public/ sub-directories are being correctly created and file correctly uploaded. Need to investigate nginx configurations. [OP] I've logged into a new Django…
iainH
  • 1,044
  • 10
  • 19
0
votes
1 answer

Django-filer: Set the default number of file upload widgets that appear on an admin model?

I am trying to implement django-filer file upload into my admin model. It seems to be working fine except for the fact that I can see too many multiple file upload widgets when I create a new record in model admin. Each time I upload a new file, it…
Nicole Marie
  • 159
  • 2
  • 12
0
votes
1 answer

Django-filer renders incorrectly in admin site

After following the installation instructions on django-filer docs website, I started the development server on my local machine and tested out if everything works. However when I open django admin site and click on filer folders, I can see that the…
an0o0nym
  • 1,456
  • 16
  • 33
0
votes
0 answers

django-filer raises django.db.utils.OperationalError: no such table: filer_file

I am trying to implement django-filer into my models in Django Admin for extended file upload functionality. No matter how many times I have dropped my database and re-run migrations, I am getting a django.db.utils.OperationalError: no such table:…
Nicole Marie
  • 159
  • 2
  • 12
0
votes
2 answers

Django-Filer FilerImageField how to use widget outside admin

I want to use the FilerImageFieldin one of my model field and want the user to edit outside the admin area but when I try to load it, the widget doesn't work correctly and in the browser console I get and error in the javascript generated: Uncaught…
patricia
  • 1,075
  • 1
  • 16
  • 44
0
votes
1 answer

Copying site-package into my own project for a 'local copy'

I was curious how I copy over site-packages stuff like for instance in django-filer I used a pip install for it installed it to: /usr/local/lib/python2.7/site-packages/filer Which is fine, but the stuff inside that filer folder (like under…
Codejoy
  • 3,722
  • 13
  • 59
  • 99
0
votes
1 answer

implementeed the jquery filer on bootstrap modal

I was implemented the jQuery filer on bootstrap modal. Now, when first time modal user opens the modal and upload the images everything goes good but if user close the modal and now upload the image then the images are not uploaded. looking as we…
0
votes
0 answers

Django (cms) filer is there a way to make it works with SVG files?

I also tried this: djangocms-filer-svg But it seems quite old and impossible to migrate it properly. File "/var/www/webapps/lib/python3.4/site-packages/django/db/backends/postgresql_psycopg2/introspection.py", line 149, in…
Jay Cee
  • 1,855
  • 5
  • 28
  • 48
0
votes
1 answer

Migrate existing third-party Django model to new customized model

I'm using django-filer for file handling. It has abstract model BaseImage and also there is default model for images called Image which inherits from BaseImage and not abstract. Also, this package allows to specify custom model for images: it hooks…
3ka5_cat
  • 121
  • 1
  • 12
0
votes
1 answer

Integrating django-filer into djangocms-text-ckeditor

I need a way to use upload and browse abilities of django-filer in the djangocms-text-ckeditor, for example to upload images in the articles of my site, as I'm typing them in the ckeditor. Are there any settings that help me with that? Or should I…
0
votes
2 answers

Showing extended page attributes from reverse_id

I've made an extra image field as shown by @Timmy O'Mahony on How to add some extra fields to the page in django-cms? (in django admin panel) I'd like to call this image field from another page using its reverse_id, much like {% page_attribute…
Mærcos
  • 188
  • 14
0
votes
1 answer

Django CMS custom file rendering - extra plugin necessary?

I want to allow the users of a django-CMS to edit the background image in one of my CMS_TEMPLATES using the filer admin. How can I achieve this in a clean way, but with minimum of code and database tables? My current solution is to (mis-)use the…
Philipp Zedler
  • 1,660
  • 1
  • 17
  • 36
0
votes
1 answer

How do I perform a reverse foreign key lookup using in django's admin fields?

I'm using django-filer on a project and have a model that looks like this: from django.db import models from filer.fields.folder import FilerFolderField class Company(models.Model): name = models.CharField(max_length=255) logo =…
3cheesewheel
  • 9,133
  • 9
  • 39
  • 59