Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AttributeError: 'NoneType' object has no attribute 'drivername'
- class Config:
- SECRET_KEY = 'SECRET_KEY'
- SQLALCHEMY_DATABASE_URI = 'SQLALCHEMY_DATABASE_URI'
- MAIL_SERVER = 'smtp.googlemail.com'
- MAIL_PORT = 587
- MAIL_USE_TLS = True
- MAIL_USERNAME = os.environ.get('EMAIL_USER')
- MAIL_PASSWORD = os.environ.get('EMAIL_PASS')
- AttributeError: 'NoneType' object has no attribute 'drivername'
- sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such
- table: post [SQL: 'SELECT post.id AS post_id, post.title AS
- post_title, post.date_posted AS post_date_posted, post.content AS
- post_content, post.user_id AS post_user_id nFROM post ORDER BY
- post.date_posted DESCn LIMIT ? OFFSET ?'] [parameters: (5, 0)]
- (Background on this error at: http://sqlalche.me/e/e3q8)
Add Comment
Please, Sign In to add comment