Skip to main content

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.

Build Status :target: https://secure.travis-ci.org/caktus/django-sticky-uploads

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.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-sticky-uploads-0.5.0.tar.gz (96.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_sticky_uploads-0.5.0-py2.py3-none-any.whl (103.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django-sticky-uploads-0.5.0.tar.gz.

File metadata

File hashes

Hashes for django-sticky-uploads-0.5.0.tar.gz
Algorithm Hash digest
SHA256 d0d8095bc0da9e2c2d5800c7d82726ec80b4d7ec953e5f8ef0a8c3ba9d2599ce
MD5 9204a516e8958942a2e600e2379bee5d
BLAKE2b-256 4f08691e1776d6c6af426d45db960b91a43957b83a0195799f44314d6dc3e4c3

See more details on using hashes here.

File details

Details for the file django_sticky_uploads-0.5.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_sticky_uploads-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4780c5bc6a9364769c3ed09e829afbaf9a157ae34ae08f5a85bc2d7dcf448bd7
MD5 03dab54c9a53042c1be50ab689311b7e
BLAKE2b-256 bba4425a139b9b7f3fc5413c943aa2db75b944fbe51755c2fc4a1070819d26d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page