KeyError at /admin/filebrowser/browse/ 'Image' for custom upload field

42 views
Skip to first unread message

Derek Adair

unread,
Mar 15, 2016, 7:50:22 PM3/15/16
to Django FileBrowser
I am getting this error, even after explicitly setting the FILEBROWSER_SELECT_FORMATS to include the defaults incase something weird was happening.


`type={{ final_attrs.format }}`

to 

`filter_type={{ final_attrs.format }}`

fixes this; i'm wondering if this was perhaps a bug not caught? I almost filed this in the github repo w/ a PR... I can if thats desired.

Cheers!
--
-D

patrick kranzlmueller

unread,
Mar 16, 2016, 7:17:59 AM3/16/16
to djangofi...@googlegroups.com
looks like a bug indeed.

--
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 https://groups.google.com/group/djangofilebrowser.
For more options, visit https://groups.google.com/d/optout.

Derek Adair

unread,
Mar 16, 2016, 10:16:18 AM3/16/16
to Django FileBrowser
Alrighty, i'll submit a PR in that case.  I read somewhere you guys are using some new custom fields, could that explain this slipping by?

patrick kranzlmueller

unread,
Mar 18, 2016, 4:50:42 AM3/18/16
to djangofi...@googlegroups.com
we don't use new custom fields.
Reply all
Reply to author
Forward
0 new messages