[Zope-CMF] dev question on CMFDefault.__init__.py

hazmat hazmat@objectrealms.net
Fri, 18 Oct 2002 17:33:27 -0700


for your use case it would be a lot easier to capture your customization in an 
external method that manipulates the new portal, or if your using plone, this 
amounts to a new customization policy.

-k


On Friday 18 October 2002 03:24 pm, Mark McEahern wrote:
> In CMFDefault/__init__.py (CMF 1.3 final) there's no apparent rationale for
> why some stuff is done outside of the initialize() method and some stuff is
> done inside it; e.g., z_bases is assigned on line 107, outside of
> initialize(), then it's used inside initialize().
>
> I'm trying to understand __init__.py so that I can capture my
> customizations of CMFDefault without having to manually perform them each
> time I create the Portal in the ZMI.
>
> Any insights anyone can offer would be greatly appreciated.
>
> I'd be happy to refactor __init__.py, if that's what it needs, once I
> understand it.  <wink>
>
> Cheers,
>
> // m
>
> -
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests