Skip to main content

A simple Django app to export data to an excel file.

Project description

=================
Django Export XLS
=================

Django Export XLS is a simple Django app to export data to a xls file.

Detailed documentation is in the "docs" directory on github https://github.com/Daiech/django-export-xls

Instalation
-----------

1. Install from PyPi::

$ pip install django-export-xls


Quick start
-----------

1. Add "export_xls" to your INSTALLED_APPS setting like this::

INSTALLED_APPS = (
...
'export_xls',
)


2. The only thing that you must to do is create an excel file is::

* Define a name for your file
* Define a Python list with the fields you want in your excel (xls headers).
* Create a python list with the values ​​you want to add to your xls file.


How to use
----------

* Import function::

import from export_xls.views export_xlwt

* export_xlwt receive:

  3 mandatory parameters::

filename
      fields
      values_list

  2 optional parameters::

save # save the xls file on settings.MEDIA_ROOT
      folder # save the xls file on settings.MEDIA_ROOT/folder

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

django-export-xls-0.1.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

django-export-xls-0.1.linux-i686.exe (66.9 kB view hashes)

Uploaded Source

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