nephila/dev/: djadmin-export-0.2.1.dev0 metadata and description

Homepage | Simple index

Export functions for Django admin

author Raphaël Barrois
author_email raphael.barrois+djadmin_export@polytechnique.org
classifiers
  • Development Status :: 4 - Beta
  • Intended Audience :: Developers
  • License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
  • License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
  • License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
  • Topic :: Software Development :: Libraries :: Python Modules
  • Operating System :: OS Independent
  • Programming Language :: Python
  • Programming Language :: Python :: 2
  • Programming Language :: Python :: 2.7
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.2
  • Programming Language :: Python :: 3.3
  • Programming Language :: Python :: 3.4
  • Programming Language :: Python :: 3.5
  • Programming Language :: Python :: Implementation :: PyPy
download_url http://pypi.python.org/pypi/djadmin_export/
keywords export
license LGPLv3+
platform
  • UNKNOWN
File Tox results History
djadmin_export-0.2.1.dev0-py2.py3-none-any.whl
Size
9 KB
Type
Python Wheel
Python
2.7
djadmin_export-0.2.1.dev0.tar.gz
Size
10 KB
Type
Source

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