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
|
|
@ -30,3 +30,4 @@ Snippet Archives <http://flask.pocoo.org/snippets/>`_.
|
||||||
jquery
|
jquery
|
||||||
errorpages
|
errorpages
|
||||||
lazyloading
|
lazyloading
|
||||||
|
mongokit
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ Here is an example model (put this into `models.py`, e.g.)::
|
||||||
self.email = email
|
self.email = email
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return '<User %r>' % (self.name, self.email)
|
return '<User %r>' % (self.name)
|
||||||
|
|
||||||
You can insert entries into the database like this:
|
You can insert entries into the database like this:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue