Skip to main content

Export functions for Django admin

Project description

This Django application provides export functionality to all tables in Django’s admin.

Installation

First, you need to install the djadmin_export module:

  • Through pip:

    $ pip install djadmin_export
    
  • From sources:

    $ git clone git@github.com/rbarrois/djadmin_export.git
    $ cd djadmin_export
    $ python setup.py install
    

Activation

Once you have installed djadmin_export, you need to activate it on your project.

The simplest way is to add the following lines to your urls.py file:

from djadmin_export import register
register.auto_register_exporters()

You must now declare, in your settings.py file, which exporter you wish to install:

ADMIN_EXPORTERS = (
    'djadmin_export.exporters.xlsx.XLSXExporter',
)

Dependencies

In itself, djadmin_export only relies on a recent enough version of Django (1.8, 1.10 or 1.11).

Each exporter may have specific dependencies:

  • XLSXExporter requires the openpyxl package

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
djadmin_export-0.2.0-py2.py3-none-any.whl (8.9 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Nov 6, 2017
djadmin_export-0.2.0.tar.gz (10.3 kB) Copy SHA256 hash SHA256 Source None Nov 6, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page