[z3-checkins] r18705 - z3/sqlos/trunk
andres at codespeak.net
andres at codespeak.net
Mon Oct 17 11:15:25 CEST 2005
Author: andres
Date: Mon Oct 17 11:15:25 2005
New Revision: 18705
Modified:
z3/sqlos/trunk/README.txt
Log:
Changed away from _column style.
Modified: z3/sqlos/trunk/README.txt
==============================================================================
--- z3/sqlos/trunk/README.txt (original)
+++ z3/sqlos/trunk/README.txt Mon Oct 17 11:15:25 2005
@@ -119,9 +119,9 @@
>>> class Person(SQLOS):
... implements(IPerson)
- ... _columns = [StringCol('username', length=20, notNull=True),
- ... StringCol('fname', length=20, notNull=True),
- ... StringCol('lname', length=20, notNull=True),]
+ ... username = StringCol('username', length=20, notNull=True)
+ ... fname = StringCol('fname', length=20, notNull=True)
+ ... lname = StringCol('lname', length=20, notNull=True)
Here you can see that there is almost nothing special needed for
making the object be recognized by Zope 3. In fact, if you remove the
More information about the z3-checkins
mailing list