Add MasterView.listing flag, for templates' sake

This commit is contained in:
Lance Edgar 2016-04-30 19:00:43 -05:00
parent 3572c16000
commit b96c1ebd3a

View file

@ -55,6 +55,7 @@ class MasterView(View):
editable = True editable = True
deletable = True deletable = True
listing = False
creating = False creating = False
viewing = False viewing = False
editing = False editing = False
@ -84,6 +85,7 @@ class MasterView(View):
string, then the view will return the renderered grid only. Otherwise string, then the view will return the renderered grid only. Otherwise
returns the full page. returns the full page.
""" """
self.listing = True
grid = self.make_grid() grid = self.make_grid()
# If user just refreshed the page with a reset instruction, issue a # If user just refreshed the page with a reset instruction, issue a