Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fgmacedo/django-export-action
Generic export action for Django's Admin
https://github.com/fgmacedo/django-export-action
admin django django-admin export
Last synced: about 1 month ago
JSON representation
Generic export action for Django's Admin
- Host: GitHub
- URL: https://github.com/fgmacedo/django-export-action
- Owner: fgmacedo
- License: mit
- Created: 2016-09-29T20:09:00.000Z (about 8 years ago)
- Default Branch: develop
- Last Pushed: 2024-09-19T09:30:23.000Z (about 2 months ago)
- Last Synced: 2024-09-26T20:58:46.895Z (about 2 months ago)
- Topics: admin, django, django-admin, export
- Language: Python
- Size: 73.2 KB
- Stars: 47
- Watchers: 4
- Forks: 32
- Open Issues: 30
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
- Authors: AUTHORS.rst
Awesome Lists containing this project
README
=============================
Django Export Action
=============================.. image:: https://badge.fury.io/py/django-export-action.svg
:target: https://badge.fury.io/py/django-export-action.. image:: https://travis-ci.org/fgmacedo/django-export-action.svg?branch=master
:target: https://travis-ci.org/fgmacedo/django-export-action.. image:: https://img.shields.io/codecov/c/github/fgmacedo/django-export-action/master.svg?label=branch%20coverage
:target: https://codecov.io/github/fgmacedo/django-export-actionGeneric export action for Django's Admin
Quickstart
----------Install Django Export Action::
pip install django-export-action
Include it on INSTALLED_APPS::
'export_action',
Add to urls:
.. code-block:: python
url(r'^export_action/', include("export_action.urls", namespace="export_action")),
Usage
-----Go to any admin page, select fields, then select the export to xls action. Then
check off any fields you want to export.Features
--------* Generic action to enable export data from Admin.
* Automatic traversal of model relations.
* Selection of fields to export.
* Can export to XSLx, CSV and HTML.Running Tests
--------------Does the code actually work?
::
source /bin/activate
(myenv) $ pip install -r requirements_test.txt
(myenv) $ py.testSecurity
--------This project assumes staff users are trusted. There may be ways for users to
manipulate this project to get more data access than they should have.