from flask import Flask
from flask.ext.pymongo import PyMongo
from bson.json_util import dumps

app = Flask('test')
mongo = PyMongo(app)

@app.route('/')
def home_page():
	test = mongo.db.events.find({})
	view_this_suka = dumps(test)
	return str(view_this_suka)
Set up with mongo: working
Set up with mongo: working
