From b5db6bf529706da651389ef51b0fce87a89a47e8 Mon Sep 17 00:00:00 2001 From: Christopher Grebs Date: Sun, 27 Jun 2010 17:38:39 +0800 Subject: [PATCH] now really pushed the fix in sqlalchemy pattern --- docs/patterns/index.rst | 1 + docs/patterns/sqlalchemy.rst | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/patterns/index.rst b/docs/patterns/index.rst index 2a8c0af7..23b20dc5 100644 --- a/docs/patterns/index.rst +++ b/docs/patterns/index.rst @@ -30,3 +30,4 @@ Snippet Archives `_. jquery errorpages lazyloading + mongokit diff --git a/docs/patterns/sqlalchemy.rst b/docs/patterns/sqlalchemy.rst index 3945c1fa..6a14c8e0 100644 --- a/docs/patterns/sqlalchemy.rst +++ b/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 '' % (self.name, self.email) + return '' % (self.name) You can insert entries into the database like this: