Simplify template context customization for view_profile_buefy
This commit is contained in:
parent
b9b5a0e79b
commit
a919bfb6c5
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue