Opened 2 years ago

Closed 2 years ago

#20727 closed Bug (invalid)

cyrillic in django-admin

Reported by: anonymous Owned by: nobody
Component: Uncategorized Version: 1.5
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no



When I add Cyrillic strings into django-admin I alway get an error
Warning at /admin/table/data/1/

Incorrect string value: '\xD0\xA4\xD0\xB8\xD1\x80...' for column 'object_repr' at row 1

Request Method: POST
Request URL: http://localhost:8000/admin/table/data/1/
Django Version: 1.5.1
Exception Type: Warning
Exception Value:

Incorrect string value: '\xD0\xA4\xD0\xB8\xD1\x80...' for column 'object_repr' at row 1

Exception Location: /usr/lib/python2.7/dist-packages/MySQLdb/ in _warning_check, line 92
Python Executable: /usr/bin/python
Python Version: 2.7.3
Python Path:



Server time: Ср, 10 Юли 2013 16:53:09 +0300
How can I enter cyrillic strings ?!

Thank you and have a nice day

Change History (1)

comment:1 Changed 2 years ago by aaugustin

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

This isn't a bug in Django; your object_repr method doesn't deal with unicode correctly. Please see TicketClosingReasons/UseSupportChannels.

Note: See TracTickets for help on using tickets.
Back to Top