diff options
author | 2018-07-03 12:50:18 +0100 | |
---|---|---|
committer | 2018-07-03 12:50:18 +0100 | |
commit | a7e00e298e8ae150b8739b78afbba57bbf154e42 (patch) | |
tree | 69f88b31daaa4e56aa7f00ae42860ab214b87838 /pysite/views/staff/tables/edit.py | |
parent | [Privacy] Point out that emailing GitLab does show your email (diff) | |
parent | Fix typo in table editor post (diff) |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'pysite/views/staff/tables/edit.py')
-rw-r--r-- | pysite/views/staff/tables/edit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pysite/views/staff/tables/edit.py b/pysite/views/staff/tables/edit.py index b70bc20e..7de63ad2 100644 --- a/pysite/views/staff/tables/edit.py +++ b/pysite/views/staff/tables/edit.py @@ -51,7 +51,7 @@ class TableEditView(RouteView, DBMixin): @require_roles(*TABLE_MANAGER_ROLES) @csrf def post(self, table): - obj = TABLES.get(TABLES) + obj = TABLES.get(table) if not obj: # Unknown table |