Enhanced file input widget for Django which uploads the file in the background and retains value on form errors.
Project description
django-sticky-uploads is a progressively enhanced file input widget for Django which uploads the file in the background and also retains value on form errors.
Requirements/Installing
django-sticky-uploads requires Python 2.6-2.7 or 3.2+. It also requires Django >= 1.4.
The easiest way to install django-sticky-uploads is using pip:
pip install django-sticky-uploads
Browser Support
This project makes use of progressive enhancement meaning that while all browsers are supported, they will not all have the same user-experience. If the browser does not support the necessary client-side features then it will fall back to the default file upload behavior.
The primary HTML5 dependencies are File API and XHR2 meaning that the following desktop/mobile browsers should get the enhanced experience:
Chrome 13+
Firefox 4+
Internet Explorer 10+
Safari 6+
Opera 12+
iOS Safari 6+
Android Brower 3+
Blackberry Broswer 10+
Opera Mobile 12+
Chrome for Android 27+
Firefox for Android 22+
Documentation
Additional documentation on using django-sticky-uploads is available on Read The Docs.
Running the Tests
You can run the tests with via:
python setup.py test
or:
python runtests.py
License
django-sticky-uploads is released under the BSD License. See the LICENSE file for more details.
A bundled version of jQuery 1.10.2 is included the source distribution which is used under its MIT license.
Contributing
If you think you’ve found a bug or are interested in contributing to this project check out django-sticky-uploads on Github.
Development sponsored by Caktus Consulting Group, LLC.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-sticky-uploads-0.1.0.tar.gz
.
File metadata
- Download URL: django-sticky-uploads-0.1.0.tar.gz
- Upload date:
- Size: 297.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9ec78c2df5210be3c935db28fca10cf77b2782b8e16d417e1153d35fa5ff038 |
|
MD5 | e71c3f448a5e957a1cf6d2a371f1d604 |
|
BLAKE2b-256 | b826a66927ec9c8c35f8a677712770bb496c8abcdc3cf576aea0b4bb8343bded |