Browse Source

now really pushed the fix in sqlalchemy pattern

pull/112/head
Christopher Grebs 15 years ago committed by Armin Ronacher
parent
commit
b5db6bf529
  1. 1
      docs/patterns/index.rst
  2. 2
      docs/patterns/sqlalchemy.rst

1
docs/patterns/index.rst

@ -30,3 +30,4 @@ Snippet Archives <http://flask.pocoo.org/snippets/>`_.
jquery
errorpages
lazyloading
mongokit

2
docs/patterns/sqlalchemy.rst

@ -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:

Loading…
Cancel
Save