Skip to main content

Django Dump Load UTF-8

Django provides great database management, however, the dumpdata and loaddata commands do not use utf-8 encoding. Thus, many data are not able to dump and load.

Feel sorry that I'm not able to provide Django a patch, for the contribution guide is too long to read. If anyone has time, please help me to merge it to Django.

Installation

pip install django-dump-load-utf8

Usage

Add to INSTALLED_APPS

# settings.py
INSTALLED_APPS = [
    '...',
    'django_dump_load_utf8',
    '...',
]

Use as a manage.py command

manage.py dumpdatautf8 --output data.json

# In another database
manage.py loaddatautf8 data.json

About

If this is useful, please give me a star!

If you have time, please help me merge this to django!

The project currently only supports python 3.8+, if you have time, please make it more competitive.

Metadata

Release files for django-dump-load-utf8 0.0.4

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-dump-load-utf8 0.0.4
File Size Uploaded
django-dump-load-utf8-0.0.4.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-dump-load-utf8 0.0.4
File Interpreter ABI Platform
django_dump_load_utf8-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 9.0 kB

Release files / django-dump-load-utf8-0.0.4.tar.gz

Download URL django-dump-load-utf8-0.0.4.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
963b8428803551007a53770aa60ceb9b02a59ec22c7a56b7aacda811772f2d17
BLAKE2b-256 checksum
How to use checksums
d8a1ac6e535660fb6aa3864c1e7360856590cc04170a58bbab573ea833b017c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

Release files / django_dump_load_utf8-0.0.4-py3-none-any.whl

Download URL django_dump_load_utf8-0.0.4-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f2002ab5eba55b5c4230667b6a7144a5a6aad9da89ee6f5b8bd323b00548110
BLAKE2b-256 checksum
How to use checksums
20fffaa95c7ac8ae44ae511b81e5ca04f87d70731c1b81300b5755fc6a6fbec5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

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