From b96c1ebd3a5e980f73ee4c89f57a8d0066991b46 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 30 Apr 2016 19:00:43 -0500 Subject: [PATCH] Add `MasterView.listing` flag, for templates' sake --- tailbone/views/master.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tailbone/views/master.py b/tailbone/views/master.py index 0cca7310..0473775d 100644 --- a/tailbone/views/master.py +++ b/tailbone/views/master.py @@ -55,6 +55,7 @@ class MasterView(View): editable = True deletable = True + listing = False creating = False viewing = False editing = False @@ -84,6 +85,7 @@ class MasterView(View): string, then the view will return the renderered grid only. Otherwise returns the full page. """ + self.listing = True grid = self.make_grid() # If user just refreshed the page with a reset instruction, issue a