now really pushed the fix in sqlalchemy pattern
This commit is contained in:
parent
824c10c6e4
commit
b5db6bf529
2 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue