Skip to main content

Export what you see in the Django admin list view.

Project description

django-cl2csv
===

cl2csv is a tiny Django app for adding export functionality to the built-in admin list views. Fields can be hidden from export. The name is short for "Change list to Comma Separated Values".

Installation
---

1. Install via pip:

`$ pip install django-cl2csv`

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

```python
INSTALLED_APPS = (
...
'cl2csv',
)
```

Usage
--

```python
from cl2csv.options import ExportModelAdmin

class DVDAdmin(ExportModelAdmin):
hide_from_export = ('secret_vote',)
```

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-cl2csv-0.11.tar.gz (15.1 kB view details)

Uploaded Source

File details

Details for the file django-cl2csv-0.11.tar.gz.

File metadata

  • Download URL: django-cl2csv-0.11.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-cl2csv-0.11.tar.gz
Algorithm Hash digest
SHA256 ec64084a202d037b5e2b5250bb3b7cc32e32e1498e66cc99b89c649c9b6c9204
MD5 56de6cc73167820a40765e2d34d708dc
BLAKE2b-256 d11454d402ab74ce56ba0468838a7ccd21403fae302d6975717ffe08119287b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page