Sometimes, you might want to export the information contained in a model to a file so that you can import it in any other system. One of the most widely used formats to export/import data is Comma-Separated Values (CSV). A CSV file is a plain text file consisting of a number of records. There is usually one record per line, and some delimiter character, usually a literal comma, separates the record fields. We are going to customize the administration site to be able to export orders to CSV files.
Exporting orders to CSV files
Adding custom actions to the administration site
Django offers you a wide range of options to customize the administration site. We are going to modify the object list view to include a custom admin action...