DotaNoobs main site.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
325 B

  1. from flask import Flask
  2. from flask.ext.sqlalchemy import SQLAlchemy
  3. from flask.ext.openid import OpenID
  4. from flask.ext.cache import Cache
  5. app = Flask(__name__)
  6. app.config.from_object('config')
  7. db = SQLAlchemy(app)
  8. oid = OpenID(app)
  9. cache = Cache(app, config={'CACHE_TYPE': app.config['CACHE_TYPE']})
  10. from app import views