2 from settings.paths import PROJECT_DIR
4 # Absolute path to the directory that holds media.
5 # Example: "/home/media/media.lawrence.com/"
6 MEDIA_ROOT = path.join(PROJECT_DIR, '../media/')
7 STATIC_ROOT = path.join(PROJECT_DIR, 'static/')
8 SEARCH_INDEX = path.join(PROJECT_DIR, '../search_index/')
10 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
11 # trailing slash if there is a path component (optional in other cases).
12 # Examples: "http://media.lawrence.com", "http://example.com/media/"
14 STATIC_URL = '/static/'
16 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
18 # Examples: "http://foo.com/media/", "/media/".
19 ADMIN_MEDIA_PREFIX = '/admin-media/'
21 # CSS and JavaScript file groups
24 #'source_filenames': ('css/master.css', 'css/jquery.autocomplete.css', 'css/master.plain.css', 'css/facelist_2-0.css',),
26 'css/jquery.countdown.css',
33 'css/picture_box.css',
39 'css/social/shelf_tags.css',
40 'css/ui-lightness/jquery-ui-1.8.16.custom.css',
42 'output_filename': 'css/all.min?.css',
45 'source_filenames': ['css/screen.css'],
46 'output_filename': 'css/screen.min?.css',
48 'media': 'screen and (min-width: 800px)',
55 'output_filename': 'css/ie.min?.css',
59 'css/master.book.css',
61 'output_filename': 'css/book.min?.css',
65 'jplayer/jplayer.blue.monday.css',
68 'output_filename': 'css/player.min?.css',
71 'source_filenames': ('css/simple.css',),
72 'output_filename': 'css/simple.min?.css',
79 'js/jquery.cycle.min.js',
80 'js/jquery.jqmodal.js',
82 'js/jquery.countdown.js', 'js/jquery.countdown-pl.js',
83 'js/jquery.countdown-de.js', 'js/jquery.countdown-uk.js',
84 'js/jquery.countdown-es.js', 'js/jquery.countdown-lt.js',
85 'js/jquery.countdown-ru.js', 'js/jquery.countdown-fr.js',
87 'js/jquery-ui-1.8.16.custom.min.js',
97 'output_filename': 'js/base?.min.js',
100 'source_filenames': [
101 'jplayer/jquery.jplayer.min.js',
102 'jplayer/jplayer.playlist.min.js',
105 'output_filename': 'js/player.min?.js',
108 'source_filenames': ('js/jquery.eventdelegation.js', 'js/jquery.scrollto.js', 'js/jquery.highlightfade.js', 'js/book.js',),
109 'output_filename': 'js/book?.min.js',
112 'source_filenames': ('js/ierange-m2.js',),
113 'output_filename': 'js/book_ie?.min.js',
118 COMPRESS_VERSION = True
119 COMPRESS_CSS_FILTERS = None