server/web/tweetgserver/__init__.py
author veltr
Wed, 22 Feb 2012 11:06:11 +0100
changeset 32 1e47b1f9f42d
parent 1 e0dbcf98c13e
permissions -rw-r--r--
Added server communication in the client and corrected server code

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