Skip to content

Commit

Permalink
Merge pull request #350 from ctholho/patch-1
Browse files Browse the repository at this point in the history
wrong objects called in connection variable
  • Loading branch information
fizyk committed Nov 30, 2020
2 parents 1d192c1 + 1cd74a3 commit 5bbcca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ If you've got other programmatic ways to populate the database, you would need a
from pyramid_fullauth.models import Base # pylint:disable=import-outside-toplevel
# NOTE: this fstring assumes that psycopg2 >= 2.8 is used. Not sure about it's support in psycopg2cffi (PyPy)
connection = f'postgresql+psycopg2://{postgres.info.user}:@{postgres.info.host}:{postgres.info.port}/{postgres.info.dbname}'
connection = f'postgresql+psycopg2://{postgresql.info.user}:@{postgresql.info.host}:{postgresql.info.port}/{postgresql.info.dbname}'
engine = create_engine(connection, echo=False, poolclass=NullPool)
pyramid_basemodel.Session = scoped_session(sessionmaker(extension=ZopeTransactionExtension()))
Expand Down

0 comments on commit 5bbcca3

Please sign in to comment.