From 0570a39ac4f046956ec83b0b900ebfe86cd3af76 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 15 Dec 2010 12:18:58 -0500 Subject: closes #66 --- docs/tutorials/wiki2/definingmodels.rst | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'docs/tutorials/wiki2') diff --git a/docs/tutorials/wiki2/definingmodels.rst b/docs/tutorials/wiki2/definingmodels.rst index c25eb2864..b710e1396 100644 --- a/docs/tutorials/wiki2/definingmodels.rst +++ b/docs/tutorials/wiki2/definingmodels.rst @@ -29,10 +29,7 @@ we're not going to use it. Then, we'll add a ``Page`` class. Because this is a SQLAlchemy application, this class should inherit from an instance of :class:`sqlalchemy.ext.declarative.declarative_base`. Declarative -SQLAlchemy models are easier to use than directly-mapped ones. The -code generated by our ``routesalchemy`` paster template does not use -declarative SQLAlchemy syntax, so we'll need to change various things -to begin to use declarative syntax. +SQLAlchemy models are easier to use than directly-mapped ones. Our ``Page`` class will have a class level attribute ``__tablename__`` which equals the string ``pages``. This means that SQLAlchemy will store our wiki -- cgit v1.2.3