remove custom json serializer

This commit is contained in:
Martin
2016-04-26 12:18:11 +02:00
parent bb251ec731
commit bbb9ab341b
4 changed files with 10 additions and 55 deletions
-4
View File
@@ -1,13 +1,9 @@
from flask import Flask, jsonify
from flask_sqlalchemy import SQLAlchemy
from api.helpers import JSONEncoder
app = Flask(__name__)
app.config.from_object('config')
# enable this when json encoding works
# app.json_encoder = JSONEncoder
def on_404(e):
return jsonify(dict(error='Not found')), 404