]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix typos [ticket:2294] [ticket:2300]. these are both due to reworkings of 0.6 docs...
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 15 Oct 2011 15:24:43 +0000 (11:24 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 15 Oct 2011 15:24:43 +0000 (11:24 -0400)
doc/build/orm/tutorial.rst
lib/sqlalchemy/ext/declarative.py

index 89f2daea9db15ed1ae7426fa82eed708a5470df2..4a1ad9e332ef2309715183dac07ea8813ccb916e 100644 (file)
@@ -148,7 +148,7 @@ are of course entirely feasible as well.
 We define a constructor via ``__init__()`` and also a ``__repr__()`` method - both are optional.  The
 class of course can have any number of other methods and attributes as required by the application, 
 as it's basically just a plain Python class.   Inheriting from ``Base`` is also only a requirement
-of the declarative configurational system, which itself is optional and relatively open ended; at it'
+of the declarative configurational system, which itself is optional and relatively open ended; at its 
 core, the SQLAlchemy ORM only requires that a class be a so-called "new style class", that is, it inherits 
 from ``object`` in Python 2, in order to be mapped.   All classes in Python 3 are "new style" classes.
 
index efaf8f8dbb582cb2059b16fc1a2c3cc029a6a2f0..a7a478ddfb6ce238fc66df473f60a5411ee8f1ed 100755 (executable)
@@ -537,10 +537,7 @@ idioms is below::
 
         id =  Column(Integer, primary_key=True)
 
-
     class MyModel(Base,MyMixin):
-        __tablename__ = 'test'
-
         name = Column(String(1000))
 
 Where above, the class ``MyModel`` will contain an "id" column