Skip to content

Instantly share code, notes, and snippets.

@nvbn
Created June 19, 2015 14:02
Show Gist options
  • Select an option

  • Save nvbn/81eba623fa53f9006af5 to your computer and use it in GitHub Desktop.

Select an option

Save nvbn/81eba623fa53f9006af5 to your computer and use it in GitHub Desktop.
wwconfig
from .base import BaseConfig
class Config(BaseConfig):
DEBUG = True
ASSETS_DEBUG = True
CSRF_ENABLED = False
FALLBACK_TO_PRODUCTION_IMAGES = True
SERVER_NAME = 'localhost:5000'
ADMIN_USERS = BaseConfig.ADMIN_USERS + [('foo', 'bar')]
DEBUG_TB_INTERCEPT_REDIRECTS = False
JSONIFY_PRETTYPRINT_REGULAR = False
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:root@localhost/ww?charset=utf8'
REDIS_UNIX_SOCKET = '/tmp/redis.sock'
SQLALCHEMY_TEST_DATABASE_URI = 'mysql+pymysql://root:root@localhost/wwtest?charset=utf8'
BROKER_URL = 'redis+socket://%s?db=%d' % (REDIS_UNIX_SOCKET, 2)
S_P = True
OVERALL_AUCTION = True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment