From dce4972f0fadc6fba388645fc5f0ed88a8725a32 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 19 Aug 2016 18:12:13 -0500 Subject: [PATCH] Add TODO comment --- tailbone/views/master.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tailbone/views/master.py b/tailbone/views/master.py index 08f298c9..562755ed 100644 --- a/tailbone/views/master.py +++ b/tailbone/views/master.py @@ -652,6 +652,7 @@ class MasterView(View): Fetch the current model instance by inspecting the route kwargs and doing a database lookup. If the instance cannot be found, raises 404. """ + # TODO: this can't handle composite model key..is that needed? key = self.request.matchdict[self.get_model_key()] instance = self.Session.query(self.get_model_class()).get(key) if not instance: