﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
4336	"Error when I add a ""Poll"" (from the tutorial) with the settings.py/language=""fr"""	yml.nospam@…	nobody	"The '''Admin Interface''' fails to '''add object''' if the settings.py Language=""fr"". If I switch the language to the default ""en-us"" I can add a record. It seems that this is due to french character like '''""éàè""'''.

Here it is an extract to traceback: 

Warning at /admin/dj_survey/survey/add/
Data truncated for column 'message' at row 1
Request Method: 	POST
Request URL: 	http://localhost:8000/admin/dj_survey/survey/add/
Exception Type: 	Warning
Exception Value: 	Data truncated for column 'message' at row 1
Exception Location: 	/usr/lib/python2.5/warnings.py in warn_explicit, line 102
Traceback (innermost last)
Switch to copy-and-paste view

    * /media/My Book/work/web_development/svn_views/django/core/handlers/base.py in get_response
        70. # Apply view middleware
        71. for middleware_method in self._view_middleware:
        72. response = middleware_method(request, callback, callback_args, callback_kwargs)
        73. if response:
        74. return response
        75.
        76. try:
        77. response = callback(request, *callback_args, **callback_kwargs) ...
        78. except Exception, e:
        79. # If the view raised an exception, run it through exception
        80. # middleware, and if the exception middleware returns a
        81. # response, use that. Otherwise, reraise the exception.
        82. for middleware_method in self._exception_middleware:
        83. response = middleware_method(request, e)
      ▶ Local vars"		closed	contrib.admin	dev		wontfix			Accepted	0	0	0	0	0	0
