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.
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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-simple-export-0.1.tar.gz.
File metadata
- Download URL: django-simple-export-0.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7064e8ee3f00d71a15fd8f0abef8d9423881a560da55d4275b62e030ff75c842
|
|
| MD5 |
d27c23ca0f439dc60e6b5c7a7a32eed9
|
|
| BLAKE2b-256 |
6d3cff2d09b667a1c494e2b6ac656591cfb3810a2d1d30d84d8a7c036809ce94
|
File details
Details for the file django_simple_export-0.1-py3-none-any.whl.
File metadata
- Download URL: django_simple_export-0.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84888a4a117d85536de548cd44ffbe4fee7a9e4d6f83b1051347f4687a55c000
|
|
| MD5 |
7a8dd18a710bd54624753385df23f266
|
|
| BLAKE2b-256 |
3ba76638d87bd45e1aaec9c1a7101364d97a157a75527b1f9a9d242d8c0bd6c4
|