/usr/share/pyshared/zc/datetimewidget/overrides.zcml is in python-zc.datetimewidget 0.7.0-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | <configure xmlns='http://namespaces.zope.org/zope'>
<!-- Wire up our widgets to replace the default ones. -->
<adapter
for="zope.schema.interfaces.IDatetime
zope.publisher.interfaces.browser.IBrowserRequest"
provides="zope.app.form.browser.interfaces.ISimpleInputWidget"
factory=".datetimewidget.DatetimeWidget"
permission="zope.Public"
/>
<adapter
for="zope.schema.interfaces.IDate
zope.publisher.interfaces.browser.IBrowserRequest"
provides="zope.app.form.browser.interfaces.ISimpleInputWidget"
factory=".datetimewidget.DateWidget"
permission="zope.Public"
/>
<adapter
for="zope.schema.interfaces.IDatetime
zope.publisher.interfaces.browser.IBrowserRequest"
provides="zope.app.form.interfaces.IDisplayWidget"
factory=".datetimewidget.DatetimeDisplayWidget"
permission="zope.Public"
/>
<adapter
for="zope.schema.interfaces.IDate
zope.publisher.interfaces.browser.IBrowserRequest"
provides="zope.app.form.interfaces.IDisplayWidget"
factory=".datetimewidget.DateDisplayWidget"
permission="zope.Public"
/>
</configure>
|