django-import-export

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

Github stars Tracking Chart

====================
django-import-export

.. image:: https://travis-ci.org/django-import-export/django-import-export.svg?branch=master
:target: https://travis-ci.org/django-import-export/django-import-export
:alt: Build status on Travis-CI

.. image:: https://coveralls.io/repos/github/django-import-export/django-import-export/badge.svg?branch=master
:target: https://coveralls.io/github/django-import-export/django-import-export?branch=master

.. image:: https://img.shields.io/pypi/v/django-import-export.svg
:target: https://pypi.org/project/django-import-export/
:alt: Current version on PyPi

.. image:: http://readthedocs.org/projects/django-import-export/badge/?version=stable
:target: https://django-import-export.readthedocs.io/en/stable/
:alt: Documentation

django-import-export is a Django application and library for importing
and exporting data with included admin integration.

Features:

  • support multiple formats (Excel, CSV, JSON, ...
    and everything else that tablib_ support)

  • admin integration for importing

  • preview import changes

  • admin integration for exporting

  • export data respecting admin filters

.. image:: docs/_static/images/django-import-export-change.png

Requirements

  • Python 3.5+
  • Django 2.0+
  • tablib 0.14+

django-import-export requires Python 3.5 and Django 2.0 or newer. See the 1.x
branch for older Python and Django versions where fixes for security issues and
critical errors continue to be released for all officially supported Django
versions.

Example app

::

cd tests
./manage.py migrate
./manage.py createsuperuser
./manage.py runserver

Contribute

If you'd like to contribute, simply fork the repository, commit your
changes to the develop branch (or branch off of it), and send a pull
request. Make sure you add yourself to AUTHORS
.

As most projects, we try to follow PEP8_ as closely as possible. Please bear
in mind that most pull requests will be rejected without proper unit testing.

.. _PEP8: https://www.python.org/dev/peps/pep-0008/
.. _tablib: https://github.com/jazzband/tablib
.. _the repository: https://github.com/django-import-export/django-import-export/
.. _AUTHORS: https://github.com/django-import-export/django-import-export/blob/master/AUTHORS

Main metrics

Overview
Name With Ownerdjango-import-export/django-import-export
Primary LanguagePython
Program languagePython (Language Count: 6)
Platform
License:BSD 2-Clause "Simplified" License
所有者活动
Created At2012-11-15 13:12:22
Pushed At2025-06-23 19:35:22
Last Commit At
Release Count115
Last Release Name4.3.8 (Posted on )
First Release Name0.0.1 (Posted on )
用户参与
Stargazers Count3.2k
Watchers Count60
Fork Count812
Commits Count1.6k
Has Issues Enabled
Issues Count1112
Issue Open Count23
Pull Requests Count702
Pull Requests Open Count2
Pull Requests Close Count227
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private