Skip to content

Commit 78c44ea

Browse files
author
Big Sir
committed
Fixed db config.
1 parent efbccbd commit 78c44ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

double-opt-contact/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
app.config['SECRET_KEY'] = secret # auto-generated secret key
1717
app.config['HCAPTCHA_SECRET_KEY'] = 'your-secret-hcaptcha-key'
1818

19-
# SQLAlchemy configurations
20-
SQLALCHEMY_DATABASE_URI = 'mysql+mysqlconnector://admin:user@localhost/tablename'
19+
# SQLAlchemy configuration
20+
app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql+mysqlconnector://admin:user@localhost/tablename'
2121

2222
# Email configurations
2323
app.config['MAIL_SERVER'] = 'your.domain.com'

0 commit comments

Comments
 (0)