From 939804c2f9514143e8587eb51826ad7328fcab83 Mon Sep 17 00:00:00 2001 From: Adam Hill Date: Wed, 20 Nov 2019 20:01:11 -0500 Subject: [PATCH] Update README.rst --- README.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 8729543..8cd727c 100644 --- a/README.rst +++ b/README.rst @@ -22,13 +22,14 @@ 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: +First, create a resource class to define a CSV export (details for ModelResources +can be found at https://django-import-export.readthedocs.io/en/latest/getting_started.html#creating-import-export-resource. Then add ``ExportModelAdminMixin`` to your Wagtail ``ModelAdmin`` class. Example: .. code-block:: python from import_export import resources from wagtail.contrib.modeladmin.options import ModelAdmin + from wagtail_exportcsv.admin import ExportModelAdminMixin class ExampleResource(resources.ModelResource):