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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-dump-load-utf8-0.0.4.tar.gz | 3.7 kB | Without provenance | Details for django-dump-load-utf8-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_dump_load_utf8-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for django_dump_load_utf8-0.0.4-py3-none-any.whl |
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
|
Security for django-dump-load-utf8 0.0.4
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.