django-import-export

Django application and library for importing and exporting data with included admin integration.


Keywords
django, import, export, csv, import-export, json, python, xls
License
Other
Install
pip install django-import-export==3.3.3

Documentation

django-import-export

Build status on Github coveralls Current version on PyPi Documentation PyPI - Python Version PyPI - Django Version downloads Follow us on X Discord

Introduction

Straightforward, reliable and comprehensive file import / export for your Django application.

django-import-export is an application and library which lets you manage import / export from / to a variety of sources (csv, xlsx, json etc).

Can be run programmatically, or with optional integration with the Django Admin site:

django-import-export-v4-admin-ui-demo-ns.mp4

Screenshots

Features

Example use-cases

django-import-export is designed to be extensible and can be used to support a variety of operations. Here are some examples of how it has been used in the wild:

  • Configure external cron jobs to run an import or export at set times
  • Use permissions to define a subset of users able to import and export project data
  • Safely update project reference data by importing from version controlled csv
  • Create portable data to transfer between environments using natural keys
  • Manage user access to an application by importing externally version controlled auth user lists
  • Add hooks to anonymize data on export
  • Modify import / export UI forms to add dynamic filtering on import / export.
  • Build a migration layer between platforms, for example take a Wordpress export and import to Wagtail

Getting started

Help and support

Commercial support

Commercial support is provided by Bellaport Systems Ltd

Releases