
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
django-admin-resumable-js
Advanced tools
A Django app for the uploading of large files from the django admin site.
.. image:: https://api.travis-ci.org/jonatron/django-admin-resumable-js.svg?branch=master :target: https://travis-ci.org/jonatron/django-admin-resumable-js
django-admin-resumable-js is a django app to allow you to upload large files from within the django admin site.
.. image:: https://github.com/jonatron/django-admin-resumable-js/raw/master/screenshot.png?raw=true
admin_resumable
to your INSTALLED_APPS
url(r'^admin_resumable/', include('admin_resumable.urls')),
to your urls.pyfrom admin_resumable.fields import ModelAdminResumableFileField
::
class Foo(models.Model):
bar = models.CharField(max_length=200)
foo = ModelAdminResumableFileField()
Optionally:
ADMIN_RESUMABLE_SUBDIR
, default is 'admin_uploaded'
ADMIN_RESUMABLE_CHUNKSIZE
, default is "1*1024*1024"
ADMIN_RESUMABLE_STORAGE
, default is 'django.core.files.storage.FileSystemStorage'
(must be a subclass of django.core.files.storage.FileSystemStorage
, or accept the location
init parameter). 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.1.0: First PyPI release
1.1: Bug fix [1]
1.2: Django 1.9 Compatibility
2.0: Added upload_to
[1] Django silently truncates incomplete chunks, due to the way the multipart parser works: https://github.com/django/django/blob/master/django/http/multipartparser.py This could result in a file being unable to be uploaded, or a corrupt file, depending on the situation.
1.2: {py27,py32,py33,py34,py35}-django{1.6,1.7,1.8,1.9}. python 3.2 and 3.3 supported up to django 1.8.
2.0: {py27,py34,py35}-django{1.8,1.9,1.10,1.11}
3.0: {py27,py35,py36,py37}-django{1.11,2.0,2.1} python 2.7 supported up to django 1.11
Incomplete notes [on ubuntu]
sudo apt-get install python3-venv
python3 -m venv venv
source venv/bin/activate
pip install pytest
pip install tox
tox
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-admin-resumable-js 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
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.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.