Add todo comment
This commit is contained in:
parent
99cd9f9450
commit
a972fb7359
|
@ -1123,6 +1123,11 @@ class MasterView(View):
|
||||||
"""
|
"""
|
||||||
Perform actual "touch" logic for the given object. Must return the
|
Perform actual "touch" logic for the given object. Must return the
|
||||||
:class:`rattail:~rattail.db.model.Change` record involved.
|
: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 = model.Change()
|
||||||
change.class_name = obj.__class__.__name__
|
change.class_name = obj.__class__.__name__
|
||||||
|
|
Loading…
Reference in a new issue