import os


class Config(object):
    DEBUG = False
    ROOT_DIR = os.environ['HOME']


class Prod(Config):
    DEBUG = False
    MONGO_URL = os.environ['MONGO_URL']


class Dev(Config):
    DEBUG = True
    MONGO_URL = {
        'host': 'mongodb://USERNAME:PASSWORD@HOST',
    }
import os


class Config(object):
    DEBUG = False
    ROOT_DIR = os.environ['HOME']


class Prod(Config):
    DEBUG = False
    MONGO_URI = os.environ['MONGO_URI']


class Dev(Config):
    DEBUG = True
    MONGO_URI = {
        'host': 'mongodb://USERNAME:PASSWORD@HOST',
    }
Rename MONGO_URL to MONGO_URI