[z3-checkins] r36458 - z3/sqlos/trunk/src/sqlos/testing
kobold at codespeak.net
kobold at codespeak.net
Thu Jan 11 11:27:10 CET 2007
Author: kobold
Date: Thu Jan 11 11:27:09 2007
New Revision: 36458
Modified:
z3/sqlos/trunk/src/sqlos/testing/sampleperson.py
Log:
ForeignKey are Attributes, not TextLine.
Modified: z3/sqlos/trunk/src/sqlos/testing/sampleperson.py
==============================================================================
--- z3/sqlos/trunk/src/sqlos/testing/sampleperson.py (original)
+++ z3/sqlos/trunk/src/sqlos/testing/sampleperson.py Thu Jan 11 11:27:09 2007
@@ -158,11 +158,7 @@
required=True,
)
- owner = TextLine(
- title=u'Owner username',
- description=u'The username of the dog\'s owner',
- required=True,
- )
+ owner = Attribute('Owner object')
class SampleDog(SQLOSContainer):
More information about the z3-checkins
mailing list