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.7 or 3.4+. It also requires Django >= 1.8.
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:
tox
(Possibly after installing tox with pip install tox or alternative.)
License
django-sticky-uploads is released under the BSD License. See the LICENSE file for more details.
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
Built Distribution
Hashes for django-sticky-uploads-0.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 476eb0111f7cd904c2df397f3de63501f6af7c853bd56e2546f69cbab096c95f |
|
MD5 | 5ff417578424d34d69ac8bd185dc2530 |
|
BLAKE2b-256 | be4d90c8df5a5983495a4432deeca64c5cfa5765d130e46361a89751ccaea208 |
Hashes for django_sticky_uploads-0.6.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e0eecbe89a6cf022bc3b449039156b07b4f0603bd7a9a5e51985d41178e5cd4 |
|
MD5 | 9a87f718dd585bcddb71d5f142531a04 |
|
BLAKE2b-256 | 350032da37e89e1ff3752204b92ae0669fc37e4b5a5d77b26fa4919396eedae0 |