[ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/ZODB Persistent Components

webmaster@zope.org webmaster@zope.org
Mon, 24 Mar 2003 16:23:05 -0500


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Persistence.stx#2-31

---------------

    There are two solutions to this problem.  First, you can assign a
    special flag, '_p_changed'::

        def addDepartment(self, department):
            self.department.append(department)
            self._p_changed = 1

      % Anonymous User - Mar. 24, 2003 4:23 pm:
       It says there are "two solutions", and then, "First...". What is the second solution?