annot-server/webapp/__init__.py
author ymh <ymh.work@gmail.com>
Sat, 25 Oct 2014 00:22:48 +0200
changeset 63 289049253263
parent 42 926f0426ce78
child 108 082b64a5c699
permissions -rw-r--r--
reindroduce the start_ts in the eventsession iline 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