This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Django app allowing for filtered exporting of model data.

Project Description

Django Export

Django app allowing for filtered exporting of model object data.

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.

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 Foundation

  • Shaun Sephton

Changelog

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 History

Release History

This version
History Node

1.9.2

History Node

1.9.1

History Node

1.9

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_export-1.9.2-py2.7.egg (29.1 kB) Copy SHA256 Checksum SHA256 2.7 Egg Apr 28, 2016
django-export-1.9.2.tar.gz (12.2 kB) Copy SHA256 Checksum SHA256 Source Apr 28, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting