Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install django-export

How to install django-export

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install django-export
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.0.4 Available View build log
0.0.3 Available View build log
0.0.2 Available View build log
0.0.1 Available View build log
Windows (64-bit)
0.0.4 Available View build log
0.0.3 Available View build log
0.0.2 Available View build log
0.0.1 Available View build log
Mac OS X (10.5+)
0.0.4 Available View build log
0.0.3 Available View build log
0.0.2 Available View build log
0.0.1 Available View build log
Linux (32-bit)
0.0.4 Available View build log
0.0.3 Available View build log
0.0.2 Available View build log
0.0.1 Available View build log
Linux (64-bit)
0.0.4 Available View build log
0.0.3 Available View build log
0.0.2 Available View build log
0.0.1 Available View build log
 
Depended by
Lastest release
version 0.0.4 on Sep 10th, 2011

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 snippetscream.csv_serializer to your SERIALIZATION_MODULES setting, i.e.:

    SERIALIZATION_MODULES = {
        # ...
        'csv': 'snippetscream.csv_serializer',
    }
    
Usage

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

https://github.com/downloads/praekelt/django-export/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.

Changelog

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.

Subscribe to package updates

Last updated Sep 10th, 2011

Download Stats

Last month:3

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.