﻿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
5909	__repr__ methods still present in contrib.comments.models, need to be replaced by __unicode__ methods	prairiedogg	nobody	"django trunk rev: 6658

in: django.contrib.comments.models

__repr__ method appears five times in the comments models.py file, this causes a Unicode error when users enter names or comments with non-ascii characters.  Discovered on a production site when user entered their Chinese name up the creation of a new FreeComment.  

I asked on the irc #django room if this sounded like a bug.  It was flagged as a bug because apparently all of the __repr__ and __str__ methods were supposed to be replaced with __unicode__ methods.  

Assuming that this is the case I've submitted a patch of a simple find of django.contrib.comments.models which is no more than a simple search for __repr__, replacing all instances with __unicode__.

This is my first ticket, I would like to produce a unit test for this change, but am having a little trouble.  If there is someone from the community who wouldn't mind giving me a little bit of help with this, I'd really enjoy submitting more complete tickets in the future and hopefully becoming an active tester for Django.
"		closed	contrib.comments	dev		fixed	comments, unicode		Ready for checkin	1	0	0	0	0	0
