Pluggable file picker
Project description
django-file-picker is a pluggable Django application used for uploading, browsing, and inserting various forms of media into HTML form fields.
Using jQuery Tools, django-file-picker integrates seamlessly into pre-existing pages by installing an overlay that lists file details and, when applicable, image thumbnails. New files can also be uploaded from within the overlay (via AJAX Upload).
django-file-picker provides a few optional extensions to help get started, including file_picker.uploads, an app with pre-built Image and File models, and file_picker.wymeditor, an app that integrates with WYMeditor, a web-based WYSIWYM (What You See Is What You Mean) XHTML editor. These extensions are provided for convenience and can easily be replaced by custom modules.
For complete documentation checkout, http://django-file-picker.readthedocs.org
Dependencies
Required
Python 2.7 (note: Python 3 is not yet supported)
sorl-thumbnail==12.4a1
AJAX Upload (included)
Optional
-
If you are using django.contrib.staticfiles, then add file_picker to your INSTALLED_APPS to include the related css/js.
Otherwise make sure to include the contents of the static folder in your project’s media folder.
Basic Installation
Add file_picker to INSTALLED_APPS in settings.py:
INSTALLED_APPS = ( 'file_picker', 'file_picker.uploads', # file and image Django app 'file_picker.wymeditor', # optional WYMeditor plugin )
file_picker.uploads will automatically create two pickers named ‘images’ and ‘files’.
Add the file_picker URLs to urls.py, e.g.:
from django.conf.urls import include, url import file_picker urlpatterns = [ # ... url(r'^file-picker/', include(file_picker.site.urls)), # ... ]
Development sponsored by Caktus Consulting Group, LLC..
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-file-picker-0.8.0.tar.gz
.
File metadata
- Download URL: django-file-picker-0.8.0.tar.gz
- Upload date:
- Size: 197.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01e4916e1b933f333c73d2e9d182cce9944b250be79fb540a65d3e1cf9717148 |
|
MD5 | eab7cb97ab1ffb9ad9e22fc015124b35 |
|
BLAKE2b-256 | b4c626a6386843ffbdee8eab6441e8c25e1b500734410072c35415924dc57be3 |
File details
Details for the file django_file_picker-0.8.0-py2-none-any.whl
.
File metadata
- Download URL: django_file_picker-0.8.0-py2-none-any.whl
- Upload date:
- Size: 233.2 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49f056ecb4f0bf34abdec161ea5ca8096b7c5392dc668048a9ec4b8002632b75 |
|
MD5 | 8a9afae5734e069324748b6b012c0e79 |
|
BLAKE2b-256 | 2b7e6542e635ced9394c8e19522fbcbc05dd5ae45843447df4c8cf88dab70f72 |