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.

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.1.0.tar.gz (13.6 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for djadmin_export-0.1.0.tar.gz
Algorithm Hash digest
SHA256 60021597a78599112db72e45f802dc4f7b494bf6dc5dcade0991a9d83bc64c58
MD5 65d21d63563c410b383d72ad4f17f909
BLAKE2b-256 c1d832a8fb353b31b190735deadf36cfec1389527a86aa2eca03c6f527e05083

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