From a919bfb6c518b639cb738f67f75f53cdd6165323 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 7 Oct 2021 21:13:59 -0400 Subject: [PATCH] Simplify template context customization for view_profile_buefy --- tailbone/views/people.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tailbone/views/people.py b/tailbone/views/people.py index 615cb238..3a54559d 100644 --- a/tailbone/views/people.py +++ b/tailbone/views/people.py @@ -451,6 +451,12 @@ class PersonView(MasterView): template = 'view_profile_buefy' if use_buefy else 'view_profile' return self.render_to_response(template, context) + def template_kwargs_view_profile_buefy(self, **kwargs): + """ + Method stub, so subclass can always invoke super() for it. + """ + return kwargs + def get_max_lengths(self): model = self.model return {