summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlly Cope <olly@ollycope.com>2015-11-21 20:55:06 +0000
committerOlly Cope <olly@ollycope.com>2015-11-21 20:55:06 +0000
commita97876e1c6e1243995b0b5fb8ef45a7ef0c70d23 (patch)
tree0f30bd21fac6d2b973fb4024e1abde05213d79e8
parent0c5aaa2fba6beb254e5d6cac461d40b7822ac47c (diff)
downloadyoyo-a97876e1c6e1243995b0b5fb8ef45a7ef0c70d23.tar.gz
Fix usage example in README
-rwxr-xr-xREADME.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index be7cc38..43074e0 100755
--- a/README.rst
+++ b/README.rst
@@ -315,6 +315,6 @@ The following example shows how to apply migrations from inside python code::
backend = get_backend('postgres://myuser@localhost/mydatabase')
migrations = read_migrations('path/to/migrations')
- backend.apply_migrations(migrations)
+ backend.apply_migrations(backend.to_apply(migrations))
.. :vim:sw=4:et