annot-server/webapp/__init__.py
author ymh <ymh.work@gmail.com>
Sat, 25 Oct 2014 05:43:01 +0200
changeset 66 658561ea9e65
parent 42 926f0426ce78
child 108 082b64a5c699
permissions -rw-r--r--
export sync code in utils, and add button to synchronize annotation on eventsessionview

#
# 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