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