annot-server/webapp/__init__.py
author rougeronj
Thu, 15 Jan 2015 17:59:41 +0100
changeset 89 b4bd49f01837
parent 42 926f0426ce78
child 108 082b64a5c699
permissions -rw-r--r--
add annotsRoll class and create it in main. Adapt main and pianoroll to allow horizontal or vertical view

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