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
Links
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
File details
Details for the file djadmin_export-0.1.2.tar.gz
.
File metadata
- Download URL: djadmin_export-0.1.2.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecb7b8bb3c4fd689cf0c3a22967b907a0c7ad53a2ca67b80eedbc21ccb0fda56 |
|
MD5 | 6d80f27fe493fd1143b937d62feb3e72 |
|
BLAKE2b-256 | 62dd7ab20cf87c7d543f7c8f7eecb804ddccf359a0f6f851afe66a08990ea5e1 |