Opened 14 years ago
Closed 14 years ago
#17501 closed Bug (duplicate)
Json serialization and ugettext_lazy
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | Core (Serialization) | Version: | 1.3 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
The json serializer will fail creating a json text when using ugettext_lazy objects.
This is something DjangoJSONEncoder should handle.
See the attached file for a git diff patch file.
Its quite easy to fix, and I guess the fix demonstrate how the DjangoJSONEncoder should be coded..
Attachments (1)
Change History (2)
by , 14 years ago
comment:1 by , 14 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This is a duplicate of #5590 and #5868. In 5590#comment:6
lukeplant (core developer)states that it is up to clients to implement this code, not Django.