Add stub methods for MasterView.template_kwargs_view()
etc.
otherwise subclass has to consider, can i call super() or not? it still does for some other views, but at least create/view/edit are common enough that it should always be able to call super() without concern for those
This commit is contained in:
parent
0209957def
commit
e3bf7f2bb2
|
@ -2077,6 +2077,24 @@ class MasterView(View):
|
|||
|
||||
return kwargs
|
||||
|
||||
def template_kwargs_create(self, **kwargs):
|
||||
"""
|
||||
Method stub, so subclass can always invoke super() for it.
|
||||
"""
|
||||
return kwargs
|
||||
|
||||
def template_kwargs_view(self, **kwargs):
|
||||
"""
|
||||
Method stub, so subclass can always invoke super() for it.
|
||||
"""
|
||||
return kwargs
|
||||
|
||||
def template_kwargs_edit(self, **kwargs):
|
||||
"""
|
||||
Method stub, so subclass can always invoke super() for it.
|
||||
"""
|
||||
return kwargs
|
||||
|
||||
def get_db_engines(self):
|
||||
"""
|
||||
Must return a dict (or even better, OrderedDict) which contains all
|
||||
|
|
Loading…
Reference in a new issue