from django.contrib.contenttypes import generic
from threadedcomments.models import ThreadedComment
from django.utils.safestring import mark_safe
+from django.utils.translation import ugettext as _
+from django.utils.encoding import force_unicode
class CharacterAdmin(admin.ModelAdmin):
list_filter=('status', 'player')
comments = obj.get_comments(private=True)
context = {
+ 'title' : _('Commentaar: %s') % force_unicode(obj),
'root_path' : self.admin_site.root_path,
'app_label' : self.model._meta.app_label,
'object' : obj,