diff --git a/AUTHORS b/AUTHORS index d3cb3a62f7..ef1e4ea095 100644 --- a/AUTHORS +++ b/AUTHORS @@ -520,6 +520,7 @@ answer newbie questions, and generally made Django that much better: Keith Bussell Kenneth Love Kent Hauser + Keryn Knight Kevin Grinberg Kevin Kubasik Kevin McConnell diff --git a/django/template/base.py b/django/template/base.py index ed1bae3022..1446cc865e 100644 --- a/django/template/base.py +++ b/django/template/base.py @@ -981,6 +981,15 @@ class TextNode(Node): def render(self, context): return self.s + def render_annotated(self, context): + """ + Return the given value. + + The default implementation of this method handles exceptions raised + during rendering, which is not necessary for text nodes. + """ + return self.s + def render_value_in_context(value, context): """