-
Notifications
You must be signed in to change notification settings - Fork 95
/
Copy pathsettings.py
51 lines (42 loc) · 1.38 KB
/
settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import os, datetime
ROOT_PATH = os.path.dirname(__file__)
# setting up directory paths
TEMPLATE_DIRS = (
os.path.join(ROOT_PATH,'templates')
)
STATIC_DIR = os.path.join(ROOT_PATH,'static')
DEPLOY_DIR = os.path.join(ROOT_PATH,'deploy')
IMAGES_DIR = os.path.join(ROOT_PATH,'images')
TMP_DIR = os.path.join(ROOT_PATH, 'aym_tmp_files')
# path for YUICompressor, or None if you don't
# want to compress JS/CSS. Project homepage:
# http://developer.yahoo.com/yui/compressor/
# YUI_COMPRESSOR = "./yuicompressor-2.3.6.jar"
YUI_COMPRESSOR = None # if you don't want to use YUI compressor
# path for HSS, which is a preprocessor for CSS-like files (*.hss)
# project page at http://ncannasse.fr/projects/hss
#HSS_PATH = "./hss"
HSS_PATH = None # if you don't want to use HSS
# Set true if you want to use CleverCSS with all .css files.
# Must be installed via "sudo easy_install CleverCSS" before
# usage.
# USE_CLEVER_CSS = True
USE_CLEVER_CSS = False
CLEVER_CSS_EXT = ".ccss"
# setting up some helpful values
STATIC_URL_FORMAT = u"/static/%s"
STATIC_THUMBNAIL_FORMAT = STATIC_URL_FORMAT % u"thumbnail/%s"
STATIC_IMAGE_FORMAT = STATIC_URL_FORMAT % u"image/%s"
THUMBNAIL_SIZE = (128,128)
EMAIL = u"[email protected]"
# creating default rendering context
CONTEXT = {
'email':EMAIL,
'now':datetime.datetime.now(),
}
PAGES_TO_RENDER = (
u"index.html",
)
INSTALLED_APPS = (
'aym_tags',
)