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 hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page