Opened 2 years ago
Closed 2 years ago
#34142 closed Bug (duplicate)
dumpdata fails when writing a utf-8 to the file
Reported by: | Amir Pourjafari | Owned by: | Amir Pourjafari |
---|---|---|---|
Component: | Core (Management commands) | Version: | |
Severity: | Normal | Keywords: | management, dumpdata |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Dump data in management command fails if user tries to write loaded utf-8 data in a file. This patch contains an edit to fix this issue by adding encoding keyword to the file handler.
Change History (2)
comment:1 by , 2 years ago
Keywords: | management dumpdata added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Triage Stage: | Unreviewed → Ready for checkin |
comment:2 by , 2 years ago
Has patch: | unset |
---|---|
Resolution: | → duplicate |
Status: | assigned → closed |
Triage Stage: | Ready for checkin → Unreviewed |
Note:
See TracTickets
for help on using tickets.
Duplicate of #26721.