server/web/tweetgserver/__init__.py
author veltr
Sat, 25 Feb 2012 00:45:20 +0100
changeset 45 49c818cf7c3a
parent 1 e0dbcf98c13e
permissions -rw-r--r--
z-index

from flask import Flask
from flaskext.sqlalchemy import SQLAlchemy
from flaskext.cache import Cache

app = Flask(__name__, instance_relative_config=True)

app.config.from_pyfile('settings.cfg', silent=False)

db = SQLAlchemy(app)
cache = Cache(app)

import tweetgserver.views
import iri_tweet.models