Hi,

are you referring to this Feeds example:

http://dev.karlproject.org/tutorials/t2-contentandcataloging/feedentries.html

If that's the case, note that both Feed and FeedEntry inherit from
repoze.folder.Folder, which in fact does inherit from Persistent:

http://svn.repoze.org/repoze.folder/trunk/repoze/folder/__init__.py

So you, see, the feed objects are actually inheriting from Persistent,
just not directly. The consequence of not doing so would be that the
data would not be saved at all.

Carlos de la Guardia

On Tue, Apr 6, 2010 at 6:54 PM, george hu <geo...@gmail.com> wrote:
> In the official documentation, the tutorial of zodb wiki shows a Page class
> who is inherited from the the Persistent. When I look at the Feeds Tool
> example on Karl, none of the model classes are inherited from the
> Persistent, but the objects are saved into the zodb. So I would like to know
> the details of inheriting from the Persistent, or the consequence of not
> inherit?
>
> Thanks
>
> George Hu
>
> _______________________________________________
> Repoze-dev mailing list
> Repoze-dev@lists.repoze.org
> http://lists.repoze.org/listinfo/repoze-dev
>
>
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to