Skip to main content
100%

Gist a5d9bcffd06abdeae2e9

✓ Published0🌍 Public
Aandybak
Last edited Nov 14, 2015
Created on Nov 14, 2015

This example shows a Django admin widget that combines a file browser with an upload field, rendered via the `custom_browse_and_upload_field.html` template. It displays a text input for a file path, a browse button that opens the FileBrowser popup, and a drag-and-drop upload area powered by qq.FileUploader. The widget supports image previews using the `filebrowser` versioning system, shows an error message if the referenced file no longer exists, and includes JavaScript to handle upload progress, success, and failure states with a configurable template for each upload item.

AI-generated description

Similar vizzes