django-iadmin v0.1.8 documentation

Actions

«  Actions   ::   Contents   ::   Utilities  »

Actions

Export queryset as CSV

This action use the standard python csv module

Options

_images/export_csv.png

Date & Time Formatting

These fields allow to configure formatting of DateTimeField, DateField and TimeField django fields or their subclasses. An ajax service show how the value will be formatted.

Quoting

iadmin.actions.QUOTE_ALL

Instructs csv.writer objects to quote all fields.

iadmin.actions.QUOTE_MINIMAL

Instructs csv.writer objects to only quote those fields which contain special characters such as delimiter, quotechar or any of the characters in lineterminator.

iadmin.actions.QUOTE_NONNUMERIC

Instructs csv.writer objects to quote all non-numeric fields.

Instructs the reader to convert all non-quoted fields to type float.

iadmin.actions.QUOTE_NONE

Instructs csv.writer objects to never quote fields. When the current delimiter occurs in output data it is preceded by the current escapechar character. If escapechar is not set, the writer will raise Error if any characters that require escaping are encountered.

Export queryset as fixture

Export selectet table as django fixture, with options --natural --indent=3

Mass update

Allow you to ‘mass update’ multiple rows to a specific value. Each row can be set of ignored. This action do not use manager method update neither custom sql instead use the slower method save for each object to ensure custom validation.

_images/mass_update.png

Graphs

TODO

«  Actions   ::   Contents   ::   Utilities  »