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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e305c5f6c95f04eafa9c1666ac2169c51919016b2bc8b057f4d3ba7c1d5833d4 |
|
MD5 | bed530fce01e3647a073aa60088761d4 |
|
BLAKE2b-256 | adda745e115c9db49cbed6721cffc1019c4ec60eea00abac1108541e8de76c75 |
Close
Hashes for django_dump_load_utf8-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9eaad83e792cbf775725740f8dc11f0984d0a114947be844e240d2c928b4144 |
|
MD5 | e35334487e083e576d3c82b57d770fc3 |
|
BLAKE2b-256 | 1be17da5d811adcb1394754bbe318f48544495be5036969892b74754e97f67a3 |