[Zope-dev] Zope doesn't know enough mime types.

Fred L. Drake, Jr. fred at zope.com
Tue Nov 4 12:57:03 EST 2003


Chris McDonough writes:
 > I was thinking that too after I did it. ;-)  I'll move it to
 > Zope.Startup.

Cool.  I'll be so bold as to suggest using a separate ZConfig
component instead of sticking the section definition in the main
schema.  If you define the section type in warningfilter.xml, import
it using

    <import package="Zope.Startup"
            file="warningfilter.xml" />

in the main schema.  Any datatype or handler functions can then be in
a separate module within Zope.Startup as well, keeping it nicely
compartmentalized.


  -Fred

-- 
Fred L. Drake, Jr.  <fred at zope.com>
PythonLabs at Zope Corporation



More information about the Zope-Dev mailing list