Skip to main content

Django Admin Bulk IO

This package allows you to import and export data in your Django admin. It supports various formats like CSV, JSON, and XML.

Features

  • Import data: Easily import data into your Django models from CSV, JSON, and XML files.
  • Export data: Export data from your Django models to CSV, JSON, and XML files.
  • Admin integration: Seamlessly integrates with the Django admin interface.
  • Customizable serializers: Allows customization of how data is serialized and deserialized.
  • Support for related fields: Handles import/export of related model data.
  • Error handling and reporting: Provides detailed error messages during import/export operations.

Installation

```bash
pip install django-admin-bulk-io
```

Configuration

  1. Add django_admin_bulk_io to your INSTALLED_APPS in settings.py:

    INSTALLED_APPS = [
        # ... other apps
        'django_admin_bulk_io',
    ]
    
  2. In your admin.py, import and use the BulkImportMixin and BulkExportMixin:

    from django.contrib import admin
    from django_admin_bulk_io.admin import BulkImportMixin, BulkExportMixin
    
    @admin.register(YourModel)
    class YourModelAdmin(admin.ModelAdmin):
        pass
    

Usage

Import

In the Django admin, navigate to the list view of the model you want to import data into.

  1. Click on the "Import" button.
  2. Choose the file you want to import and select the format (CSV, JSON, or XML).
  3. Click "Import" to begin the import process. Export

Export

  1. Select the objects you want to export (or select all).
  2. From the "Action" dropdown, choose "Export selected objects". Choose the desired export format (CSV, JSON, or XML).

Contributing

Contributions are welcome! Please submit bug reports and pull requests.

License

This project is licensed under the MIT License.

Metadata

Release files for django-admin-bulk-io 1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-admin-bulk-io 1.3
File Size Uploaded Provenance Actions
django_admin_bulk_io-1.3.tar.gz 119.8 kB Without provenance Details for django_admin_bulk_io-1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-admin-bulk-io 1.3
File Interpreter ABI Platform Actions
django_admin_bulk_io-1.3-py3-none-any.whl Python 3 none any Details for django_admin_bulk_io-1.3-py3-none-any.whl

Total release size: 244.5 kB

Release files / django_admin_bulk_io-1.3.tar.gz

Download URL django_admin_bulk_io-1.3.tar.gz
Size 119.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5358413d6fb05cc0091ad55150fadf24d3953d589655616ff4a72ffa4d7ca063
BLAKE2b-256 checksum
How to use checksums
5a4073ec575d3fed020615091dcfa40deb6b6c4d36a49bf199d921db4cb1370f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.0

Release files / django_admin_bulk_io-1.3-py3-none-any.whl

Download URL django_admin_bulk_io-1.3-py3-none-any.whl
Size 124.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7395710f92849d53f8826562b3413e409309ba780fa9949007d04c63bee83127
BLAKE2b-256 checksum
How to use checksums
1943bc76829a98d5606a0aa4a0f6f12533d1db54a091707143453dd5134212f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.0

Security for django-admin-bulk-io 1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page