
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
django-async-upload-kg
Advanced tools
A Django app for the uploading of large files from the django admin site.
Based on fork from https://github.com/bit/django-async-upload. Allows install via pip:
pip install django-async-upload-kg
django-async-upload is a django app to allow you to upload large files from within the django admin site asynchrously, that means that you can add any number of files on the admin page (e.g. through inline models) and continue editing other fields while files are uploading.
django-async-upload is compatible with django-storages (tested with S3Storage)
admin_async_upload
to your INSTALLED_APPS
url(r'^admin_async_upload/', include('admin_async_upload.urls')),
to your urls.pyfrom admin_resumable.models import ResumableFileField
::
class Foo(models.Model):
bar = models.CharField(max_length=200)
foo = AsyncFileField()
Optionally:
ADMIN_RESUMABLE_CHUNKSIZE
, default is "1*1024*1024"
ADMIN_RESUMABLE_STORAGE
, default is setting of DEFAULT_FILE_STORAGE and ultimately 'django.core.files.storage.FileSystemStorage'
. If you don't want the default FileSystemStorage behaviour of creating new files on the server with filenames appended with _1, _2, etc for consecutive uploads of the same file, then you could use this to set your storage class to something like https://djangosnippets.org/snippets/976/ADMIN_RESUMABLE_CHUNK_STORAGE
, default is 'django.core.files.storage.FileSystemStorage'
. If you don't want the default FileSystemStorage behaviour of creating new files on the server with filenames appended with _1, _2, etc for consecutive uploads of the same file, then you could use this to set your storage class to something like https://djangosnippets.org/snippets/976/ADMIN_RESUMABLE_SHOW_THUMB
, default is False. Shows a thumbnail next to the "Currently:" link.ADMIN_SIMULTANEOUS_UPLOADS
to limit number of simulteneous uploads, dedaults to 3
. If you have broken pipe issues in local development environment, set this value to 1
.4.0.0 - inital fork of django-admin-async-upload 3.0.4 with support for Django 4 and later
Tested on Django 4.2 running on python 3.11
original django-admin-resumable-js by jonatron https://github.com/jonatron/django-admin-resumable-js
django-admin-resumable-js fork by roxel https://github.com/roxel/django-admin-resumable-js
django-admin-async-upload fork by DataGreed https://github.com/DataGreed/django-admin-async-upload
Resumable.js https://github.com/23/resumable.js
django-resumable https://github.com/jeanphix/django-resumable
FAQs
A Django app for the uploading of large files from the django admin site.
We found that django-async-upload-kg demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.