Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A simple Django app to export admin models as excel files.

Project description

=====
Admin Export
=====

Add export action in admin model list page.

Quick start
-----------
1. Install this package::

pip install django-simple-export


2. Add "admin_export" to your INSTALLED_APPS setting like this::

INSTALLED_APPS = [
...
'admin_export',
]


3. Include the polls URLconf in your project urls.py like this::

path('dae/', include('admin_export.urls')),


4. Add export annotation to your model in admin.py, for example::

from admin_export.deco import dae_export

@admin.register(YourModel)
@dae_export(YourModel)
class YourAdmin(admin.ModelAdmin):
# ...


5. Start the development server and visit http://127.0.0.1:8000/admin/,
then click to view the list of the model(you'll need the Admin app enabled).


6. There will be an 'Export' button in the page before 'Add' button.
click this button, current data list will be exported into a file.


Project details


Release history Release notifications

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-simple-export, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size django_simple_export-0.1-py3-none-any.whl (7.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size django-simple-export-0.1.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page