Tag Archives: Flask

Weird thing to understand from mongoengine in Flask

Inital mongo collection I am creation a mongo dument in Flask using MongoEngine Object mapper.Simple, consider the collection name is TestMe and it has two fields (name, address). The name of the document is nava. from mongoengine import Document, connect, … Continue reading

Posted in Flask, Python | Tagged , | Leave a comment

Ajax search predictor in Angularjs

Dynamic question predictor in AngularJs Objective We are using Flask framework for our dynamic question predictor when the user starts typing question in html text field, we have to kick one ajax event to fetch the relevant responses to be … Continue reading

Posted in angularjs, Flask, Python, Ubuntu | Tagged , , , , | Leave a comment

How to implement forgot password feature in Flask?

I am using Python, Flask, SqlAlchemy for my project which is being developed in Ubuntu 14.04. So, I am assuming you have the model called User which contains at least email address, password fields. So, it looks like, models.py class … Continue reading

Posted in Flask, General_Tech, Problems, Python, Ubuntu | Tagged , , | 2 Comments

Override save_model in Flask-Superadmin

Why we are here? This article covers how to excrypt the plaintext password when you create a user via Flask-Superadmin Flask admin or Django admin? As an introductory Flask-Admin is not a Django admin to be clear on what it … Continue reading

Posted in Flask, General_Tech, Python, Ubuntu | Tagged , , | Leave a comment