Changes between Initial Version and Version 2 of Ticket #12892
- Timestamp:
- Feb 17, 2010, 7:05:07 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12892 – Description
initial v2 1 1 I have this in my urls.py: 2 {{{ 2 3 (r'^admin/doc/', include('django.contrib.admindocs.urls')), 3 4 }}} 4 5 and this in my settings.py: 6 {{{ 5 7 LANGUAGE_CODE = 'fr' 6 8 # (same with 'fr-fr') 7 9 }}} 8 10 If I go to http://localhost:8000/admin/doc/models/auth.user/ 9 11 10 12 I get: 13 {{{ 11 14 Unicode error hint 12 15 … … 62 65 Exception Type: UnicodeEncodeError at /admin/doc/models/auth.user/ 63 66 Exception Value: 'ascii' codec can't encode character u'\xe8' in position 4: ordinal not in range(128) 64 67 }}} 65 68 66 69 If I switch to: 70 {{{ 67 71 LANGUAGE_CODE='en-US' 68 72 }}} 69 73 the problem disappears. 70 74