now really pushed the fix in sqlalchemy pattern

This commit is contained in:
Christopher Grebs 2010-06-27 17:38:39 +08:00 committed by Armin Ronacher
parent 824c10c6e4
commit b5db6bf529
2 changed files with 2 additions and 1 deletions

View file

@ -68,7 +68,7 @@ Here is an example model (put this into `models.py`, e.g.)::
self.email = email
def __repr__(self):
return '<User %r>' % (self.name, self.email)
return '<User %r>' % (self.name)
You can insert entries into the database like this: