skillfed

djangorestframework-bulk

Django REST Framework bulk CRUD view mixins

djangorestframework-bulk v0.2.1 94.8K downloads/30d#13,303 on PyPI517
Permissive license MIT Abandoned released

What it is and what it does

djangorestframework-bulk extends Django REST Framework with mixin classes and generic views that enable bulk CRUD operations—creating, updating, and deleting multiple resources in a single HTTP request. Instead of making separate requests for each resource, you can send a list of objects in the request body to perform batch operations efficiently.

The package provides bulk-aware serializers, viewsets, and a router that automatically map bulk actions. It includes safety mechanisms for bulk delete operations (requiring explicit filtering to prevent accidental mass deletion) and handles the serializer differences between DRF 2 and DRF 3. However, the package has been unmaintained since 2015-04-26; its compatibility with modern versions is not guaranteed.

Use it for:

  • Bulk-import data into a Django REST API by sending multiple objects in a single POST request
  • Update multiple records at once with a PUT or PATCH request containing a list of modified objects
  • Implement batch deletion endpoints with safety checks to prevent accidental mass deletion of resources
  • Reduce API round-trips when synchronizing large datasets between client and server

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Adds bulk create, update, and delete operations to Django REST Framework's generic views and viewsets, enabling efficient batch processing of multiple resources in a single request.

No. The package is abandoned (last release 2015-04-26, last commit 2020-09-08) and targets obsolete Django and DRF versions. Modern Django REST Framework has evolved significantly, and compatibility is not guaranteed. Unless you are maintaining legacy code on very old Django/DRF versions, consider implementing bulk operations directly or seeking actively maintained alternatives.

Install

djangorestframework-bulk on PyPI

pip

pip install djangorestframework-bulk

uv

uv add djangorestframework-bulk

poetry

poetry add djangorestframework-bulk

Installing djangorestframework-bulk

Before you install

High install friction: the package has been abandoned since 2015 (last release 0.2.1 on 2015-04-26) with no commits since 2020-09-08. It targets Django and DRF versions from that era; compatibility with modern versions is uncertain and unsupported.

License in practice

MIT license is permissive and poses no restrictions on use, modification, or distribution. However, the permissive nature does not mitigate the maintenance risk of an abandoned package.

Quickstart

pip install djangorestframework-bulk

from djangorestframework_bulk import (
    BulkListSerializer,
    BulkSerializerMixin,
    ListBulkCreateUpdateDestroyAPIView,
)

class FooSerializer(BulkSerializerMixin, ModelSerializer):
    class Meta:
        model = FooModel
        list_serializer_class = BulkListSerializer

class FooView(ListBulkCreateUpdateDestroyAPIView):
    queryset = FooModel.objects.all()
    serializer_class = FooSerializer

Requires Django >= 1.3 and Django REST Framework >= 3.0.0 (or DRF >= 2.2.5 with Django < 1.8). Modern Django and DRF versions may not be compatible; the package has not been updated since 2015-04-26.

Verify before relying

  • Compatibility with Django and DRF versions released after 2015-04-26
  • Whether bulk delete safety hooks and filtering logic work correctly with modern DRF serializer changes
  • Active maintenance or community forks that address modern Django/DRF compatibility

Package facts

License MIT (permissive)
Python support not specified
Install friction high — source build required
Runtime dependencies none
Maintenance abandoned — 4,128 days since the last release
Last repo commit
First released
Downloads 94,784/month — #13,303 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: djangorestframework-bulk-0.2.1.tar.gz

Keywords: django

Development Status :: 3 - AlphaFramework :: DjangoIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Internet :: WWW/HTTPTopic :: Utilities

Tags

django rest framework bulk operationsbulk create update delete apibatch crud rest frameworkdjango bulk serializerrest api bulk endpointsdjango batch processing viewsbulk viewset mixins
abandonedlegacy

More WWW/HTTP packages