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.…
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…
[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…
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…
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…
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:…
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…
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…
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…
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…
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…
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…
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…
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…
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 =…