Django command dumpdatautf8 and loaddatautf8
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-dump-load-utf8-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bde267141d4b28536cd4b18f12bb81bb7d463dc88a259fe31f9faa2252e5fbd |
|
MD5 | ca9be6b3014f6c4d85e535baec562d9b |
|
BLAKE2b-256 | d48fd39f4cf17d57d53abd5ec205e93eeffc4c8013a3be51b0ce43be67dd664c |
Close
Hashes for django_dump_load_utf8-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8910f2696f39d130553388700a602f28a4692959b8e9e100fbf2ca4b515cb48 |
|
MD5 | 37cd0c615eed02ace29b681b785a1075 |
|
BLAKE2b-256 | 4bd6f98a2517cbb9d21f16a7924df6ede7614106b55349c6fbe0264c11b76dc4 |