admin: fixed typo
This commit is contained in:
parent
f1a2d54f1a
commit
b33e7bc73c
|
@ -65,7 +65,7 @@ class JournalAdmin(admin.ModelAdmin):
|
|||
key = obj_data.tag.name;
|
||||
ctx[key] = '<a href="?objectdata__content_type={0}&objectdata__object_id={1}">{2}{3}</a>'.format(
|
||||
content_type_id, object_id, ctx[key], self.object_link(obj_data))
|
||||
template = _(entry.template_content) # localize the template
|
||||
template = _(entry.template.content) # localize the template
|
||||
return '<span>{}</span>'.format(template.format(**ctx))
|
||||
html_message.allow_tags = True
|
||||
html_message.short_description = _('Message')
|
||||
|
|
Loading…
Reference in New Issue