realms-wiki/realms/lib/services.py
Matthew Scragg 98c753aba6 yolo
2014-01-13 17:07:13 -06:00

8 lines
203 B
Python

import redis
from flask.ext.sqlalchemy import SQLAlchemy
from realms import config
db = SQLAlchemy()
# Default Cache connection
cache = redis.StrictRedis(host=config.REDIS_HOST, port=config.REDIS_PORT)