Django batch uploading
#Features
1. Users can batch upload files / bulk upload files / upload
multiple files at one -- however you prefer to phrase it!
2. Users can specify default values to apply in bulk. For example, if
you're a photographer uploading multiple images from a single shoot, you may
want to be able to tag all the images to a single shoot.
3. Users can individually edit specific fields. For example, if
you're a photographer uploading multiple images from a single shoot,
you may want to add titles when you first upload them so you don't
have to go back and update them individually.
#Compatibility / Requirements
1. Django (last tested with 1.8.2)
2. django-grappelli (last tested with 2.6.5)
3. Chrome, Firefox, Safari, IE10+ (Essentially this list: http://caniuse.com/#feat=input-file-multiple)
#Installation
pip install django-batch-uploader
##settings.py
INSTALLED_APPS = (
...
'django_batch_uploader',
...
)
##views.py
from django_batch_uploader.views import AdminBatchUploadView
class ImageBatchView(AdminBatchUploadView):
model = Image
#Media file name
media_file_name = 'image'
#Which fields can be applied in bulk?
default_fields = ['credit', 'admin_description', 'creator', 'tags']
#Which fields can be applied individually?
detail_fields = ['title', 'alt', 'caption']
default_values = {}
##urls.py
....
url( r'admin/media/images/batch/$', ImageBatchView.as_view(), name="admin_image_batch_view"),
....
##admin.py
from django_batch_uploader.admin import BaseBatchUploadAdmin
class BaseImageAdmin(BaseBatchUploadAdmin):
batch_url_name = "admin_image_batch_view"
#Screenshots
##Bulk upload button in changelist

##Select files and specify individual values

##Specify defaults to bulk-apply

##Upload in progress

##Upload successful

Metadata
Release files for django_batch_uploader 0.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_batch_uploader-0.14.tar.gz | 17.5 kB | Without provenance | Details for django_batch_uploader-0.14.tar.gz |
Release files / django_batch_uploader-0.14.tar.gz
| Download URL | django_batch_uploader-0.14.tar.gz |
|---|---|
| Size | 17.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b61949dd749fa09c524a95b8348c5ecc1c18b412d54365fdf96a2844ca787c5
|
|
BLAKE2b-256 checksum How to use checksums |
4430678227686eccb1a131fe086d35621e6a6c9d74ddabe5e1b34d5949721bdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django_batch_uploader 0.14
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.