Skip to content

Commit 44be23e

Browse files
committed
Merge pull request #108 from andrewelkins/patch-2
Update app.py
2 parents 8befa49 + 70edf88 commit 44be23e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

examples/simpleapp/app.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ def index():
4848
Todo(title="Simple todo A ПЫЩЬ!", text="12345678910").save() # Insert
4949
Todo(title="Simple todo B", text="12345678910").save() # Insert
5050
Todo.objects(title__contains="B").update(set__text="Hello world") # Update
51-
todos = list(Todo.objects[:10])
5251
todos = Todo.objects.all()
5352
return flask.render_template('index.html', todos=todos)
5453

0 commit comments

Comments
 (0)