Hi,
Just recently started using python anywhere, trying to deploy my flask app. everything seem to work just fine but I cannot seem to connect to my DB
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from flask_bcrypt import Bcrypt
from flask_login import LoginManager
app = Flask(__name__)
app.config['SECRET_KEY'] = '123MANFORDS329'
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///site.db'
db = SQLAlchemy(app)
bcrypt = Bcrypt(app)
login_manager = LoginManager(app)
login_manager.login_view = 'login'
login_manager.login_message_category = 'info'
from FlaskBlog import routes
this is from my innit that works with no problems on local host I just cannot seem to access the DB and get a 500 error when trying to register new accounts or login with already created accounts. it is as if it pulls information from the DB though as it has my dummy posts from the DB.
Any help anyone could give would be great