[Checkins] SVN: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/README.txt update docs

Andreas Jung andreas at andreas-jung.com
Fri Jun 15 01:00:22 EDT 2007


Log message for revision 76704:
  update docs
  

Changed:
  U   z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/README.txt

-=-
Modified: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/README.txt
===================================================================
--- z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/README.txt	2007-06-14 23:44:49 UTC (rev 76703)
+++ z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/README.txt	2007-06-15 05:00:21 UTC (rev 76704)
@@ -142,7 +142,8 @@
 the model using the 'mapper_class' parameter:
 
    > from z3c.sqlalchemy import createSAWrapper, Model
-   > class MyAMapper(object): pass
+   > from z3c.sqlalchemy.mapper import MappedClassBase
+   > class MyAMapper(MappedClassBase): pass
    > model = Model()
    > model.add(name='A', relations=('B',) mapper_class = MyAMapper)
    > wrapper = createSAWrapper('postgres://postgres:postgres@host/someDB', model=model)



More information about the Checkins mailing list