aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/views/staff/tables/index.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-08-07 15:09:08 +0100
committerGravatar Gareth Coles <[email protected]>2018-08-07 15:09:16 +0100
commitaf54db6c136138c66cf5ca72419989525a0baa5c (patch)
tree8519aeab8d45277c51797c7dc23aacf3b56ed1bb /pysite/views/staff/tables/index.py
parentA wizard is never late, nor is he early. (diff)
Initial project layout for django
Diffstat (limited to 'pysite/views/staff/tables/index.py')
-rw-r--r--pysite/views/staff/tables/index.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/pysite/views/staff/tables/index.py b/pysite/views/staff/tables/index.py
deleted file mode 100644
index 0d84aeb4..00000000
--- a/pysite/views/staff/tables/index.py
+++ /dev/null
@@ -1,13 +0,0 @@
-from pysite.base_route import RouteView
-from pysite.constants import TABLE_MANAGER_ROLES
-from pysite.decorators import require_roles
-from pysite.tables import TABLES
-
-
-class TablesView(RouteView):
- path = "/tables"
- name = "tables.index"
-
- @require_roles(*TABLE_MANAGER_ROLES)
- def get(self):
- return self.render("staff/tables/index.html", tables=TABLES)