Skip to main content

A simple Django wagtail app to download form submissions as CSV.

Project description

wagtail-exportcsv is a simple Django app to export form submission as CSV.

Detailed documentation is in the “docs” directory.


pip install wagtail-exportcsv


pip install -e

And add wagtail_exportcsv to INSTALLED_APPS

Quick start

First, create a resource class to define a CSV export. Then add ExportModelAdminMixin to your Wagtail ModelAdmin class. Example:

from import_export import resources
from wagtail.contrib.modeladmin.options import ModelAdmin

class ExampleResource(resources.ModelResource):

    class Meta:
        model = ExampleModel
        fields = ('first_name', 'email',)

class ExampleAdmin(ExportModelAdminMixin, ModelAdmin):

    model = ExampleModel
    resource_class = ExampleResource

Project details

Download files

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

Source Distribution

wagtail-exportcsv-0.2.0.tar.gz (4.1 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