Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rudyryk committed Nov 30, 2016
1 parent 9c0bc9b commit fd55efe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ objects = peewee_async.Manager(database)

# No need for sync anymore!

database.allow_sync = False
database.set_allow_sync(False)

async def handler():
await objects.create(TestModel, text="Not bad. Watch this, I'm async!")
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Quickstart
# No need for sync anymore!
database.allow_sync = False
database.set_allow_sync(False)
async def handler():
await objects.create(TestModel, text="Not bad. Watch this, I'm async!")
Expand Down

0 comments on commit fd55efe

Please sign in to comment.