We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8befa49 + 70edf88 commit 44be23eCopy full SHA for 44be23e
examples/simpleapp/app.py
@@ -48,7 +48,6 @@ def index():
48
Todo(title="Simple todo A ПЫЩЬ!", text="12345678910").save() # Insert
49
Todo(title="Simple todo B", text="12345678910").save() # Insert
50
Todo.objects(title__contains="B").update(set__text="Hello world") # Update
51
- todos = list(Todo.objects[:10])
52
todos = Todo.objects.all()
53
return flask.render_template('index.html', todos=todos)
54
0 commit comments