The custom_action form field only appear for images

9 views
Skip to first unread message

Alisson Barbosa Ferreira

unread,
Feb 4, 2015, 2:19:32 PM2/4/15
to djangofi...@googlegroups.com

Tests: ERROR
https://github.com/alissonbf/blog-teste/blob/master/test_filebrowser_detail.txt

Version: FileBrowser 3.5.7, Grappelli 2.5.6, Django 1.6

Despite the applies_to my custom action be set equal to documentation describes the custom_action form field does not appear.

https://github.com/alissonbf/blog-teste/blob/master/teste/actions.py

I noticed that the file filebrowser / templates / filebrowser / detail.html, there is a condition for this field appears only for images.

https://github.com/sehmaschine/django-filebrowser/blob/master/filebrowser/templates/filebrowser/detail.html#L61-L75

But the documentation says "Each custom action can be associated with a specific file type (e.g., images, audio file, etc) to which it applies.".

http://django-filebrowser.readthedocs.org/en/latest/admin.html#associating-actions-with-specific-files

patrick kranzlmueller

unread,
Feb 5, 2015, 3:37:22 AM2/5/15
to djangofi...@googlegroups.com
yep, that seems to be a bug ... might wanna open a ticket with github?

--
You received this message because you are subscribed to the Google Groups "Django FileBrowser" group.
To unsubscribe from this group and stop receiving emails from it, send an email to djangofilebrow...@googlegroups.com.
To post to this group, send email to djangofi...@googlegroups.com.
Visit this group at http://groups.google.com/group/djangofilebrowser.
For more options, visit https://groups.google.com/d/optout.

Alisson Barbosa Ferreira

unread,
Feb 6, 2015, 5:28:40 AM2/6/15
to djangofi...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages