Commit 5a260c71 authored by Hanno Schlichting's avatar Hanno Schlichting

Note the module names in the deprecation warnings

parent b67e8ef2
from zope.deferredimport import deprecated from zope.deferredimport import deprecated
deprecated("Please import from five.formlib", deprecated("Please import from five.formlib.macros",
FormMacros = 'five.formlib.macros:FormMacros', FormMacros = 'five.formlib.macros:FormMacros',
) )
from zope.deferredimport import deprecated from zope.deferredimport import deprecated
deprecated("Please import from five.formlib", deprecated("Please import from five.formlib.metaconfigure",
EditViewFactory = 'five.formlib.metaconfigure:EditViewFactory', EditViewFactory = 'five.formlib.metaconfigure:EditViewFactory',
FiveFormDirective = 'five.formlib.metaconfigure:FiveFormDirective', FiveFormDirective = 'five.formlib.metaconfigure:FiveFormDirective',
EditFormDirective = 'five.formlib.metaconfigure:EditFormDirective', EditFormDirective = 'five.formlib.metaconfigure:EditFormDirective',
......
from zope.deferredimport import deprecated from zope.deferredimport import deprecated
deprecated("Please import from five.formlib", deprecated("Please import from five.formlib.objectwidget",
ObjectWidgetView = 'five.formlib.objectwidget:ObjectWidgetView', ObjectWidgetView = 'five.formlib.objectwidget:ObjectWidgetView',
ObjectWidget = 'five.formlib.objectwidget:ObjectWidget', ObjectWidget = 'five.formlib.objectwidget:ObjectWidget',
ObjectWidgetClass = 'five.formlib.objectwidget:ObjectWidgetClass', ObjectWidgetClass = 'five.formlib.objectwidget:ObjectWidgetClass',
......
from zope.deferredimport import deprecated from zope.deferredimport import deprecated
deprecated("Please import from five.formlib", deprecated("Please import from five.formlib.formbase",
FiveFormlibMixin = 'five.formlib.formbase:FiveFormlibMixin', FiveFormlibMixin = 'five.formlib.formbase:FiveFormlibMixin',
FormBase = 'five.formlib.formbase:FormBase', FormBase = 'five.formlib.formbase:FormBase',
EditFormBase = 'five.formlib.formbase:EditFormBase', EditFormBase = 'five.formlib.formbase:EditFormBase',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment