A Django library for exporting data.
Project description
django-excel-export
A Django library for exporting data.
Features:
- support xlsx, xls, docx
How to install
$ pip install excel-exporter
How to use
Export is achieved by subclassing ExportAdmin, which implements export as an admin action.
# app/admin.py
from excel_exporter.admin import ExportAdmin
class PersonAdmin(ExportAdmin):
list_display = ( 'name', 'address', 'date', 'image')
export_fields = ('name', 'address', 'float', 'time', 'date', 'image')
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
excel-exporter-0.1.1.tar.gz
(18.2 kB
view hashes)
Built Distribution
Close
Hashes for excel_exporter-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8042f30e32e533c6d5c9d33132269b5a82b51150151bf7f79cc231be6504dc5 |
|
MD5 | de3e848941756184bd0c25777973c202 |
|
BLAKE2b-256 | 05a8cec844d7102d558dbe3a6928eca910a75fa508e408be4d26ce0632e6fed1 |