annot-server/webapp/__init__.py
author ymh <ymh.work@gmail.com>
Thu, 16 Oct 2014 03:22:00 +0200
changeset 26 ebfd0d3cffab
parent 24 eb1f7b06001f
child 42 926f0426ce78
permissions -rw-r--r--
Correction on export_annotation. First working version

#
# 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
import webapp.api