Initial commit

This commit is contained in:
Sander Ferdinand 2018-06-26 23:48:25 +02:00
commit edb3d8f57b
55 changed files with 15544 additions and 0 deletions

8
wowfunding/bin/utils.py Normal file
View file

@ -0,0 +1,8 @@
from flask.json import JSONEncoder
from datetime import datetime, date
def json_encoder(obj):
if isinstance(obj, (datetime, date)):
return obj.isoformat()
raise TypeError ("Type %s not serializable" % type(obj))