djadmin_export python

Flexible export actions for Django admin

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 [email protected]/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:

.. sourcecode:: python

from djadmin_export import register
register.auto_register_exporters()

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

.. sourcecode:: python

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

Links

Related Repositories

djadmin_export

djadmin_export

Flexible export actions for Django admin ...


Top Contributors

rbarrois yakky

Releases

-   djadmin_export-0.1.3 zip tar
-   djadmin_export-0.1.2 zip tar
-   djadmin_export-0.1.1 zip tar