﻿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
6908	Decoupling of hardcoded Comment class	miohtama	nobody	"In contrib.comments we have two hardcoded comment classes. The comment engine chooses between these using this kind of expression:

{{{
manager = self.free and FreeComment.objects or Comment.objects
}}}

Instead, a free-form class name should be given in settings. This would allow the developer to supply his own Comment class with site specific relations.

E.g.

{{{
comment_manager_factory_function = settings.COMMENT_MANAGER_
manager = comment_manager_factory_function(content_type, other_context_parameters)
}}}

I am willing to supply patch for this if you give me green light.


"		closed	contrib.comments	dev		wontfix	hard-coded comment class		Unreviewed	0	0	0	0	0	0
