diff --git a/r2/r2/lib/jsontemplates.py b/r2/r2/lib/jsontemplates.py index 9f0fc15f9..9ef3722ce 100755 --- a/r2/r2/lib/jsontemplates.py +++ b/r2/r2/lib/jsontemplates.py @@ -484,6 +484,9 @@ class NullJsonTemplate(JsonTemplate): def render(self, thing = None, *a, **kw): return "" + def get_def(self, name): + return self + class ListingJsonTemplate(ThingJsonTemplate): _data_attrs_ = dict(children = "things", after = "after",