lib/settings.py
author terom
Tue, 18 Mar 2008 00:04:02 +0000
changeset 32 cc2d9db311c0
parent 23 10841abbc01f
permissions -rw-r--r--
database dir and schema
TEMPLATE_DIR = './templates'
TEMPLATE_EXT = 'html'

IMAGE_EXTS = ('jpg', 'jpeg', 'png', 'gif', 'bmp')

THUMB_DIR = 'thumbs'
PREVIEW_DIR = 'previews'
TITLE_FILE = 'title.txt'

THUMB_GEOM = (160, 120)
PREVIEW_GEOM = (640, 480)

DEFAULT_TITLE = 'Image gallery'

# how many image/page
IMAGE_COUNT = 50

VERSION = "0.5"
ROOT_IGNORE = ('lib', 'templates')