Registry / devops / django-admin-csvexport

django-admin-csvexport

JSON →
library2.4.1pypypiunverified

Django Admin action to export selected items as CSV-formatted data. Current version: 2.4.1 (last release Apr 2023). Low maintenance; minimal breaking changes. Use for simple admin CSV exports without external dependencies.

pip install django-admin-csvexport
INSTALL
IMPORT
SIG · DJANGO-ADMIN-CSVEX
D
django-admin-csvexport
devopspythonv2.4.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ExportCsvMixin
from csvexport.actions import ExportCsvMixin
from admin_csv import ExportCsvMixin

Add ExportCsvMixin to your ModelAdmin to enable CSV export action.

# admin.py from admin_csv import ExportCsvMixin from django.contrib import admin from .models import MyModel @admin.register(MyModel) class MyModelAdmin(ExportCsvMixin, admin.ModelAdmin): list_display = ['name', 'email'] actions = ["export_as_csv"]
Debug
Known issues
gotchaThe import path is 'from admin_csv import ExportCsvMixin', not 'django_admin_csvexport'.
fix
Use 'from admin_csv import ExportCsvMixin'
affects: all
gotchaExcel export requires openpyxl; will silently fallback to CSV if not installed.
fix
Install openpyxl: pip install openpyxl
affects: all
gotchaThe export action only exports selected items (query set). Does not include all items by default.
fix
Use 'action' with 'export_as_csv' or customize to include all items via admin action customisation.
affects: all
deprecatedLibrary is in maintenance mode; no updates since 2023.
fix
Consider alternatives if new features needed, but basic CSV export still works.
affects: >=2.4.1
Upgrade
Version history
2.4.1latest on PyPI · released Jan 15, 2026
Audit
Dependencies
djangorequiredPlugins into Django admin
openpyxloptionalOptional Excel export
Agent activity
5 hits · last 30 days
node
4
Resources
django-admin-csvexport — pip install django-admin-csvexport · libregistry