from os import path as op


__basedir__ = op.abspath(op.dirname(op.dirname(__file__)))


class Config(object):
    DEBUG = False
    TESTING = False
    SQLALCHEMY_DATABASE_URI = 'sqlite:///' + op.join(__basedir__, '.db')
    CSRF_ENABLED = True
    CSRF_SESSION_KEY = "somethingimpossibletoguess"
    BABEL_LANGUAGES = ['en', 'ru']


class Production(Config):
    ADMINS = frozenset(['youremail@yourdomain.com'])
    SECRET_KEY = 'SecretKeyForSessionSigning'
    DATABASE_CONNECT_OPTIONS = {}
    BABEL_DEFAULT_LOCALE = 'en'


class Testing(Production):
    TESTING = True
    CSRF_ENABLED = False
    SQLALCHEMY_DATABASE_URI = 'sqlite:///:memory:'


class Develop(Production):
    DEBUG = True
    SQLALCHEMY_ECHO = True

@@ -108,43 +108,21 @@
 t):%0A
-    DEBUG = False%0A    TESTING = Fal
+%0A    # Databa
 se%0A 
@@ -192,16 +192,31 @@
 , '.db')
+%0A%0A    # WTForms
 %0A    CSR
@@ -283,16 +283,29 @@
 toguess%22
+%0A%0A    # Babel
 %0A    BAB
@@ -332,16 +332,48 @@
 , 'ru'%5D%0A
+    BABEL_DEFAULT_LOCALE = 'en'%0A
 %0A%0Aclass 
@@ -495,74 +495,8 @@
 ng'%0A
-    DATABASE_CONNECT_OPTIONS = %7B%7D%0A    BABEL_DEFAULT_LOCALE = 'en'%0A
 %0A%0Acl
@@ -543,33 +543,8 @@
 rue%0A
-    CSRF_ENABLED = False%0A
     
@@ -590,16 +590,65 @@
 emory:'%0A
+    CSRF_ENABLED = False%0A    CACHE_TYPE = 'null'%0A
 %0A%0Aclass 

Update settings