- pip install -e [email protected]:hzdg/django-admintools.git#egg=django-admintools
In admin.py:
from admintools.actions import ExportAsCsv class MyAdmin(admin.ModelAdmin): actions = [ExportAsCsv("Export selected emails as CSV file", exclude=['id'])]
In admin.py:
from admintools.actions import ExportAsCsv class MyAdmin(admin.ModelAdmin): actions = [ExportAsCsv("Export selected emails as CSV file", exclude=['id'])]