#23060 closed Bug (fixed)
UnicodeDecodeError in debug templatetag
| Reported by: | anonymous | Owned by: | QingFeng |
|---|---|---|---|
| Component: | Template system | Version: | 1.7-rc-1 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | yes | Patch needs improvement: | yes |
| Easy pickings: | yes | UI/UX: | no |
Description
There is model with __unicode__ method that return unicode with cyrillic.
Instance of this model used in template as context.
If use {% debug %} then get UnicodeDecodeError exception.
Please fix it.
Attachments (1)
Change History (10)
comment:1 by , 11 years ago
| Easy pickings: | set |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:2 by , 11 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
by , 11 years ago
| Attachment: | 23060.diff added |
|---|
comment:3 by , 11 years ago
follow-up: 5 comment:4 by , 11 years ago
| Has patch: | set |
|---|---|
| Needs tests: | set |
| Patch needs improvement: | set |
I left some comments on the pull request. Also tests are needed.
comment:5 by , 11 years ago
Replying to claudep:
I left some comments on the pull request. Also tests are needed.
OK, I added a test, this test in which directory is better? thanks
comment:7 by , 11 years ago
@claudep send a new pr https://github.com/django/django/pull/2976 , pls, review, thanks
comment:8 by , 11 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
pullrequest: https://github.com/django/django/pull/2933
pls, review, thanks