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.

Source Distribution

djadmin_export-0.2.0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

djadmin_export-0.2.0-py2.py3-none-any.whl (8.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file djadmin_export-0.2.0.tar.gz.

File metadata

File hashes

Hashes for djadmin_export-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9cf4ede26aee84c24b849c7c6e0c905a59d6f2dd628f44867a684ba8720d2c91
MD5 d0bba9672ab496fd245a5bcb26d3191c
BLAKE2b-256 a336ec7c179b721d3f4017a839583e6daff826e324c114b1b8040ba379ff2807

See more details on using hashes here.

File details

Details for the file djadmin_export-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for djadmin_export-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 51615567a75d067b10000a5165f67be0d8f2d82ac2b84e90baff93cc1c8f1fb6
MD5 2b9040bbe3f334e68a3faf606062b05c
BLAKE2b-256 a15f599576e9e2ab30c751d2bd6b653550f303899132daba80cde7fbbd8c82d2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page