If it helps, I get a different error from the website, the error I named above is when i try to query Post from the website debugger. The error I get is -
AttributeError: 'NoneType' object has no attribute 'drivername'
The last lines of code are -
I tried deleting my database and then running "db.create_all()" but I got the same error - "No application found"
I'm thinking I will just start over
AttributeError: 'NoneType' object has no attribute 'drivername'
The last lines of code are -
The default implementation provides some saner defaults for things like pool sizes for MySQL and sqlite. Also it injects the setting of `SQLALCHEMY_NATIVE_UNICODE`. """ if sa_url.drivername.startswith('mysql'): #This line gives the error sa_url.query.setdefault('charset', 'utf8') if sa_url.drivername != 'mysql+gaerdbms': options.setdefault('pool_size', 10) options.setdefault('pool_recycle', 7200) elif sa_url.drivername == 'sqlite':
I tried deleting my database and then running "db.create_all()" but I got the same error - "No application found"
I'm thinking I will just start over