[Twisted-Python] trouble with registering an IModel adapter
dp at twistedmatrix.com
Thu Aug 7 01:46:57 EDT 2003
On Wednesday, August 6, 2003, at 10:38 PM, Tim Andrews wrote:
> Hi folks,
> I copied the following code from the manual, but keep on getting
> Any clues?
> # Demonstration of registering an IModel adapter
> # Copied from "The Twisted Documentation" section 7.3.5
> # Raises the following exception:
> # exceptions.AttributeError: MyDataModel instance has no attribute
That example must be very, very old. It should be 'original', like any
other Adapter, not 'orig'.
More information about the Twisted-Python