# -*- coding: utf-8 -*-
import os

#
# This is the configuration file of the application
#
# Please make sure you don't store here any secret information and use environment
# variables
#

SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL')
if SQLALCHEMY_DATABASE_URI is None:
    raise Exception('Please, set the DATABASE_URL environment variable to be postgresql://postgres@localhost/anyway')
SQLALCHEMY_TRACK_MODIFICATIONS = True
ENTRIES_PER_PAGE = os.environ.get('ENTRIES_PER_PAGE', 1000)
SQLALCHEMY_POOL_RECYCLE = 60

SECRET_KEY = 'aiosdjsaodjoidjioewnioewfnoeijfoisdjf'

# available languages
LANGUAGES = {
    'en': 'English',
    'he': 'עברית',
}

# -*- coding: utf-8 -*-
import os

#
# This is the configuration file of the application
#
# Please make sure you don't store here any secret information and use environment
# variables
#

SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL')
if SQLALCHEMY_DATABASE_URI is None:
    raise Exception('Please, set the DATABASE_URL environment variable to be postgresql://postgres@localhost/anyway')
SQLALCHEMY_TRACK_MODIFICATIONS = True
ENTRIES_PER_PAGE = os.environ.get('ENTRIES_PER_PAGE', 1000)
SQLALCHEMY_POOL_RECYCLE = 60

# available languages
LANGUAGES = {
    'en': 'English',
    'he': 'עברית',
}

remove unused SECRET_KEY