Skip to main content

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

Project description

https://travis-ci.com/thomst/django-admin-csvexport.svg?branch=master

Description

Django-admin-csvexport is a django-admin-action, that allows you to export a selection of the fields of your models as csv-formatted data.

Features

  • selectable model-fields
  • inclusive of related models
  • customizable csv-format
  • view or download csv-data

Supported Django-versions

  • Django-1.11
  • Django-2.0
  • Django-2.1
  • Django-2.2

Installation

Install from pypi.org:

pip install django-admin-csvexport

Add csvexport to your installed apps:

INSTALLED_APPS = [
    'csvexport',
    ...
]

Add csvexport to the actions of your modeladmin:

from csvexport.actions import csvexport

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

Todo

  • Support for ManyToManyFields.
  • recursive inclusion of related models

Download files

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

Files for django-admin-csvexport, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size django_admin_csvexport-1.0.0-py3.7.egg (11.6 kB) File type Egg Python version 3.7 Upload date Hashes View
Filename, size django_admin_csvexport-1.0.0-py3-none-any.whl (7.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-admin-csvexport-1.0.0.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page