From a972fb735999d6a97e70c21ce359216fe6711e59 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 14 Sep 2019 15:07:47 -0500 Subject: [PATCH] Add todo comment --- tailbone/views/master.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tailbone/views/master.py b/tailbone/views/master.py index 676e99fd..01f438f0 100644 --- a/tailbone/views/master.py +++ b/tailbone/views/master.py @@ -1123,6 +1123,11 @@ class MasterView(View): """ Perform actual "touch" logic for the given object. Must return the :class:`rattail:~rattail.db.model.Change` record involved. + + .. todo:: + Why should this return the change object? We're not using it for + anything (yet?) but some views may generate multiple changes when + touching the primary object, i.e. touch related objects also. """ change = model.Change() change.class_name = obj.__class__.__name__