Skip to main content

Adds a "download csv" option to your ModelAdmin.

Project description

Adds a “download csv” option to your ModelAdmin. Simply add “admin_csv” to your INSTALLED_APPS, and have your ModelAdmin extend CSVMixin like so:

from admin_csv import CSVMixin

class MyModelAdmin(CSVMixin, admin.ModelAdmin):
    list_display = ['foo', 'bar', 'baz']
    csv_fields = list_display + ['qux']

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

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

Source Distribution

django-admin-csv-0.2.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file django-admin-csv-0.2.tar.gz.

File metadata

File hashes

Hashes for django-admin-csv-0.2.tar.gz
Algorithm Hash digest
SHA256 9b15d142055f8f25fb9688e57a0615105da6371aa0cb3d43f28b8bb79d2f0e31
MD5 73f98e74ad31f2eadd2a8162d4357981
BLAKE2b-256 722bd5377b873ebdf68af99b65df7a12116295face13813bc8b5702395817275

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page