diff options
Diffstat (limited to 'examples/postgis/postgis.py')
-rw-r--r-- | examples/postgis/postgis.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/postgis/postgis.py b/examples/postgis/postgis.py index a12b824ba..2b45b98f5 100644 --- a/examples/postgis/postgis.py +++ b/examples/postgis/postgis.py @@ -233,7 +233,7 @@ if __name__ == "__main__": from sqlalchemy.ext.declarative import declarative_base engine = create_engine( - "postgresql://scott:tiger@localhost/test", echo=True + "postgresql+psycopg2://scott:tiger@localhost/test", echo=True ) metadata = MetaData(engine) Base = declarative_base(metadata=metadata) |