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 # CSS and JavaScript file groups
 
  19         # styles both for mobile and for big screen
 
  21             'css/jquery.countdown.css', 
 
  28             'css/picture_box.css',
 
  31             'sponsors/css/sponsors.css',
 
  34             'css/social/shelf_tags.css',
 
  35             'css/ui-lightness/jquery-ui-1.8.16.custom.css',
 
  37         'output_filename': 'css/compressed/all.css',
 
  43         'output_filename': 'css/compressed/ie.css',
 
  47             'css/master.book.css',
 
  49         'output_filename': 'css/compressed/book.css',
 
  53             'jplayer/jplayer.blue.monday.css', 
 
  56         'output_filename': 'css/compressed/player.css',
 
  59         'source_filenames': ('css/simple.css',),
 
  60         'output_filename': 'css/compressed/simple.css',
 
  67             'js/jquery.cycle.min.js',
 
  68             'js/jquery.jqmodal.js',
 
  70             'js/jquery.countdown.js', 'js/jquery.countdown-pl.js',
 
  71             'js/jquery.countdown-de.js', 'js/jquery.countdown-uk.js',
 
  72             'js/jquery.countdown-es.js', 'js/jquery.countdown-lt.js',
 
  73             'js/jquery.countdown-ru.js', 'js/jquery.countdown-fr.js',
 
  75             'js/jquery-ui-1.8.16.custom.min.js',
 
  80             'pdcounter/pdcounter.js',
 
  81             'sponsors/js/sponsors.js',
 
  85         'output_filename': 'js/base.min.js',
 
  89             'jplayer/jquery.jplayer.min.js', 
 
  90             'jplayer/jplayer.playlist.min.js', 
 
  93         'output_filename': 'js/player.min.js',
 
  96         'source_filenames': ('js/jquery.eventdelegation.js', 'js/jquery.scrollto.js', 'js/jquery.highlightfade.js', 'js/book.js',),
 
  97         'output_filename': 'js/book.min.js',
 
 100         'source_filenames': ('js/ierange-m2.js',),
 
 101         'output_filename': 'js/book_ie.min.js',
 
 106 STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
 
 107 PIPELINE_CSS_COMPRESSOR = None
 
 108 PIPELINE_JS_COMPRESSOR = None