annot-server/webapp/__init__.py
author cavaliet
Fri, 24 Oct 2014 14:03:34 +0200
changeset 58 726ee64f18a9
parent 42 926f0426ce78
child 108 082b64a5c699
permissions -rw-r--r--
new cat, new colors, links to embed...

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