annot-server/webapp/__init__.py
author ymh <ymh.work@gmail.com>
Tue, 14 Oct 2014 08:12:54 +0200
changeset 23 16a1925df2df
parent 22 986ee928a866
child 24 eb1f7b06001f
permissions -rw-r--r--
add status to annotation creation. Improve error management for annotation creation

#
# See LICENCE for detail
# Copyright (c) 2014 IRI
#

import uuid
import json

from flask import Flask

import config
import database

app = Flask(__name__)
app.secret_key = str(uuid.uuid4())
app.debug = config.DEBUG
app.config.from_object(config)

import webapp.views