#18461: UnicodeDecodeError in sql logger
------------------------------+------------------------------------
Reporter: zw0rk | Owner: nobody
Type: Bug | Status: closed
Component: Core (Other) | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+------------------------------------
Comment (by akaariai):
For future reference: the problem with the test was that it used
.filter(name='ะน'). This caused problems on MySQL when TEST_CHARSET =
'UTF8' is not in use. I didn't have that, and didn't spot that this is
required (documented
[https://docs.djangoproject.com/en/dev/internals/contributing/writing-code
/unit-tests/#using-another-settings-module| here]). So, the original test
was correct. I don't see a need to change the test back, as the removed
.filter() doesn't make the test incorrect either. Of course, I am not
objecting changing the test back if that is wanted...
--
Ticket URL: <https://code.djangoproject.com/ticket/18461#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.