﻿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
2798	[patch] make comments work on models with alphanummmeric PKs	Maximillian dornseif <md@…>	Adrian Holovaty	"Comments don't work on Models using non-integer Primary Keys. The tiny patch below makes them work (with no observable preformance impact).

http://c0re.23.nu/c0de/misc/django-r3797-comments_for_objects_with_non_integer_ids.diff
{{{
--- django/contrib/comments/models.py	(revision 3797)
+++ django/contrib/comments/models.py	(working copy)
@@ -64,7 +64,7 @@
 class Comment(models.Model):
     user = models.ForeignKey(User, raw_id_admin=True)
     content_type = models.ForeignKey(ContentType)
-    object_id = models.IntegerField(_('object ID'))
+    object_id = models.CharField(_('object ID'), maxlength=255)
}}}"	enhancement	closed	Contrib apps	dev	minor	wontfix		md@…	Unreviewed	1	0	0	0	0	0
