skillfed

django-admin-csvexport

Django-admin-action to export items as csv-formatted data.

django-admin-csvexport v2.4.1 86.9K downloads/30d#13,827 on PyPI24
Permissive license BSD-2-Clause AGING released

What it is and what it does

django-admin-csvexport is a Django admin action that lets you export selected records from any Django admin changelist as CSV. It integrates directly into the admin interface—you select items, pick the action from the dropdown, and either view or download the resulting CSV file. The package supports field selection (including related model fields via dot notation), customizable CSV formatting (delimiter, quoting, line terminator), and optional deduplication of rows.

The export form is rendered by the action itself and respects Django settings like CSV_EXPORT_REFERENCE_DEPTH to control how deeply nested related models are included. You can pre-select fields, limit which fields are offered, and adjust CSV format parameters per ModelAdmin or globally. It works as a standard Django admin action with no special setup beyond adding it to your ModelAdmin's actions list.

Use it for:

  • Export user records from Django admin for reporting or data analysis without writing custom views.
  • Bulk download filtered queryset results (e.g., orders from a date range) as CSV for spreadsheet processing.
  • Extract related model data (e.g., customer name and associated order details) in a single CSV export.
  • Allow non-technical staff to download admin-filtered data without direct database access.
  • Customize CSV format (delimiter, quoting) per export to match downstream system requirements.

Worth the install?

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

Adds a Django admin action that exports selected model instances from the admin changelist as CSV data, with configurable field selection and format options.

Yes, if you need quick CSV export from Django admin. The package is stable (Production/Stable classifier), supports modern Django versions through 6.0, has no known vulnerabilities, and installs with low friction. Maintenance is aging (211 days since last release), but the repository is not archived and the feature set is mature. Install it if exporting from admin is a core workflow; skip it if you need heavy data transformation or real-time exports.

Install

django-admin-csvexport on PyPI

pip

pip install django-admin-csvexport

uv

uv add django-admin-csvexport

poetry

poetry add django-admin-csvexport

Installing django-admin-csvexport

Before you install

Low friction installation as a pure Python wheel. Maintenance status is aging—last release was 211 days ago—but the repository remains active and the package supports Django versions through 6.0 and Python 3.8–3.13.

License in practice

BSD-2-Clause is permissive; you may use, modify, and distribute this package with minimal restrictions, provided you include the license text and a notice of changes.

Quickstart

pip install django-admin-csvexport

# In settings.py
INSTALLED_APPS = ['csvexport', ...]

# In admin.py
from csvexport.actions import csvexport

class MyModelAdmin(admin.ModelAdmin):
    actions = [csvexport]

Requires Django and django-modeltree as runtime dependencies; Django must be installed and configured in your project.

Verify before relying

  • Whether django-modeltree is actively maintained and compatible with current Django versions.
  • Performance characteristics when exporting large result sets or deeply nested related models.

Package facts

License BSD-2-Clause (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 2 — Django, django-modeltree
Maintenance aging — 211 days since the last release
Last repo commit
First released
Downloads 86,892/month — #13,827 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: django_admin_csvexport-2.4.1-py3-none-any.whl

Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 2.2Framework :: Django :: 3.0Framework :: Django :: 3.1Framework :: Django :: 3.2Framework :: Django :: 4.0Framework :: Django :: 4.1Framework :: Django :: 4.2Framework :: Django :: 5.0Framework :: Django :: 5.1Framework :: Django :: 5.2Framework :: Django :: 6.0Intended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software DevelopmentTopic :: Software Development :: Libraries :: Application Frameworks

Tags

django admin csv exportexport django models to csvdjango admin action csvbulk export django datadjango changelist csv downloaddjango admin data exportcsv formatter django admin
django-admincsv-exportdata-extraction

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

django-object-actions

Adds custom action buttons to Django admin…

permissive · top 5,000 on PyPI

django-more-admin-filters

Provides a collection of Django admin filter…

permissive · top 15,000 on PyPI

django-import-export

Handles import and export of data to and from…

permissive · top 5,000 on PyPI

django-better-admin-arrayfield

Provides a list-based widget for Django's…

permissive · top 15,000 on PyPI

csvsort

Sorts large CSV files on disk using a…

copyleft · top 15,000 on PyPI

django-admin-inline-paginator

Adds pagination controls to Django admin inline…

permissive · top 5,000 on PyPI

django-multiselectfield

Adds model and form fields to Django that let…

copyleft · top 5,000 on PyPI

django-admin-inline-paginator-plus

Adds pagination to Django admin inline forms,…

permissive · top 15,000 on PyPI

django-data-browser

Provides an interactive web interface for…

permissive · top 15,000 on PyPI

django-admin-extra-buttons

Adds custom buttons, links, and views to Django…

permissive · top 15,000 on PyPI