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 requires Django 1.11 or 2.0, and a Python that is supported by the chosen version of Django.

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


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-1.0.0.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

django_sticky_uploads-1.0.0-py2.py3-none-any.whl (19.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for django-sticky-uploads-1.0.0.tar.gz
Algorithm Hash digest
SHA256 98895101436e033a5aed9a9148c37c07f705bba525d1f27f91aa1d9928382b14
MD5 7759612a132323535cded5c4abd24630
BLAKE2b-256 86ac986d8dd90d79f955285d76726bd3612dd435616502d20ac3aece4abfd4ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_sticky_uploads-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 760b8852e06202d4eede1bed147cd95ba1dc93ab307ddcaedf93deca146b344c
MD5 8b49fea29c33f3b307cb91bc637118af
BLAKE2b-256 c96daa0f95f68f4d0548cd8887e23d52a55ae3e9c59151d5aba2d241b4e49662

See more details on using hashes here.

Supported by

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