Hello, Kless. If you want to try the source adapter you're writing, you should use its methods without the slash in the beginning.
For example, if you already defined "_create_section", you should call "create_section": http://static.repoze.org/whatdocs/Manual/ManagingSources.html#adding-a-section-to-a-source HTH ;-) Cheers! On Sunday April 19, 2009 18:36:24 Kless wrote: > I'm creating a repoze.what source adapter for Mongo [1]. In several > methods its says [2]: "When implementing this method, don’t check > whether the section really exists; that’s already done when this > method is called." > > When are being called those checks? > I've implemented '_section_exists' and '_item_is_included', and they > works ok. But if I call to i.e. '_create_section' the anterior methods > are not being called. > > > [1] http://www.mongodb.org/homepage.action > > [2] > http://static.repoze.org/whatdocs/Manual/ManagingSources.html#writing-your- >own-source-adapters > > -- Gustavo Narea <xri://=Gustavo>. | Tech blog: =Gustavo/(+blog)/tech ~ About me: =Gustavo/about | --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
