Skip to main content

Django Export

Django app allowing for filtered exporting of model object data.

https://travis-ci.org/praekelt/django-export.svg

django-export allows you to export model objects in a wide range of serialized formats (JSON, CSV, XML, YAML). Exports can be filtered and ordered on any of the particular model’s fields.

django-export utilizes django-object-tools to hook into Django’s admin interface and take care of user permissions.

Installation

  1. Install django-object-tools as described here.

  2. Install or add django-export to your Python path.

  3. Add export to your INSTALLED_APPS setting.

  4. Optionally for exporting in CSV you need to add export.serializers.csv_serializer to your SERIALIZATION_MODULES setting, i.e.:

    SERIALIZATION_MODULES = {
        'csv': 'export.serializers.csv_serializer'
    }

Usage

Once installed you should see an Export object tool enabled on all admin change list views.

docs/images/export_example.png

If you don’t see the tool make sure the logged in user has the appropriate export user permission assigned (or set user as superuser).

Clicking the Export tool link takes you to an export page on which you can specify format, ordering and filtering of the objects you want to export. The export is delivered as a download in whichever format you select. Authors =======

Praekelt Consulting

  • Shaun Sephton

Changelog

1.11.0

  1. Django 1.11 compatibility.

  2. Deprecate support for Django < 1.8.

1.9.2

  1. Restore full set of export fields. This fixes a bug introduced in 1.9.1.

1.9.1

  1. Fix case where an empty list of fields is passed resulting in a blank form.

1.9

  1. Include fields that are non-editable as potential filter fields.

  2. Make it possible for subclasses of the Export form to provide a set of filter fields.

  3. Django 1.9 compatibility.

1.0.3 (2014-10-17)

  1. Improved celery support

1.0.2 (2014-10-17)

  1. Moved serializer into celery task

1.0.1 (2014-10-15)

  1. Add celery support to move email task to a background process

1.0.0 (2014-10-13)

  1. CSV serialiser (included into project)

  2. Email exported data to logged in user

  3. Django 1.7 Compatability

  4. Travis/tox integration

0.0.4 (2011-09-09)

  1. Indent output making it human readable, thanks bevenky.

  2. Note on enabling CSV.

0.0.3 (2011-08-23)

  1. More robust field lookup for fields defined outside of Django.

0.0.2 (2011-08-19)

  1. Supports all Field types.

0.0.1 (2011-08-11)

  1. Initial release.

Release files for django-export 1.11.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-export 1.11.0
File Size Uploaded
django-export-1.11.0.tar.gz 13.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-export 1.11.0
File Interpreter ABI Platform
django_export-1.11.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 30.7 kB

Release files / django-export-1.11.0.tar.gz

Download URL django-export-1.11.0.tar.gz
Size 13.5 kB
Tags Source
SHA-256 checksum
How to use checksums
927e4aedcaebc4c8e528945a6c36f7298c16be0f1d10e1c2f77fbf01c5d9575e
BLAKE2b-256 checksum
How to use checksums
8f83506a2289fa4af75622563c533db115e1a610b72072bf374861bd609b8eb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_export-1.11.0-py2.py3-none-any.whl

Download URL django_export-1.11.0-py2.py3-none-any.whl
Size 17.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
11f0d65231e273c966a8c17ed755b1a1a8cd8a03826892b4566bfe4e7085a773
BLAKE2b-256 checksum
How to use checksums
24db9ca19e76fd8c128a1f560e450b2d8b4a2df3e708f50bd4b2e278ef8e3cd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.11.0 This release

2 release files

1.9.2

2 release files

1.9.1

2 release files

1.9

2 release files

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.0.4

3 release files

0.0.3

2 release files

0.0.2

3 release files

0.0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page