Adds a "download csv" option to your ModelAdmin.
Project description
Adds a “download csv” option to your ModelAdmin. Simply add “admin_csv” to your INSTALLED_APPS, and have your ModelAdmin extend CSVMixin like so:
from admin_csv import CSVMixin
class MyModelAdmin(CSVMixin, admin.ModelAdmin):
list_display = ['foo', 'bar', 'baz']
csv_fields = list_display + ['qux']
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
django-admin-csv-0.2.tar.gz
(3.6 kB
view details)
File details
Details for the file django-admin-csv-0.2.tar.gz
.
File metadata
- Download URL: django-admin-csv-0.2.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b15d142055f8f25fb9688e57a0615105da6371aa0cb3d43f28b8bb79d2f0e31 |
|
MD5 | 73f98e74ad31f2eadd2a8162d4357981 |
|
BLAKE2b-256 | 722bd5377b873ebdf68af99b65df7a12116295face13813bc8b5702395817275 |