How to use MongoDB (and PyMongo) with Flask-Login

Before deciding to use Ghost, I was thinking to create my blog platform from scratch using Flask, its extensions and MongoDB. The first thing I thought about was sessions and users management. Flask has a nice extension, called Flask-Login, that handles all details for you, so I started to dig further into its documentation. Unfortunately, every example is written using SQLAlchemy which has a different syntax as opposed to pymongo [Read More]