Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Batch Uploading Mechanism for Django Admin

Project description

# django-batch-uploader
Django batch uploading


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:


pip install django-batch-uploader


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 = {}

url( r'admin/media/images/batch/$', ImageBatchView.as_view(), name="admin_image_batch_view"),

from django_batch_uploader.admin import BaseBatchUploadAdmin

class BaseImageAdmin(BaseBatchUploadAdmin):

batch_url_name = "admin_image_batch_view"


##Bulk upload button in changelist
![Changelist View](

##Select files and specify individual values
![Individual Fields](

##Specify defaults to bulk-apply
![Defaults Form](

##Upload in progress

##Upload successful

Project details

Download files

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

Files for django_batch_uploader, version 0.14
Filename, size File type Python version Upload date Hashes
Filename, size django_batch_uploader-0.14.tar.gz (17.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page