Skip to content

Instantly share code, notes, and snippets.

@davemerwin
Created May 18, 2010 17:27
Show Gist options
  • Save davemerwin/405264 to your computer and use it in GitHub Desktop.
Save davemerwin/405264 to your computer and use it in GitHub Desktop.
MEDIA_STATIC_ROOT = os.path.join(PROJECT_PATH, '..', 'site_media', 'static')
MEDIA_STATIC_URL = '/site_media/static/'
MEDIA_ROOT = os.path.join(PROJECT_PATH, os.pardir, '..', 'site_media', 'dynamic')
MEDIA_URL = '/site_media/dynamic/'
MEDIASYNC = {
'MEDIA_ROOT': MEDIA_STATIC_ROOT,
'MEDIA_URL': MEDIA_STATIC_URL,
'BACKEND':'mediasync.backends.s3',
'AWS_KEY':'XXXXXXXXXXXXXXXXXX',
'AWS_SECRET':'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
'AWS_BUCKET':'XXXXXXXXX',
'DOCTYPE':'html5',
'SERVE_REMOTE': True,
}
MEDIASYNC_CSS_PATH = 'css'
MEDIASYNC_JS_PATH = 'js'
MEDIASYNC_JOINED = {
'all.css': ['reset.css','960.css','layout.css','typography.css','forms.css','rounded-corners.css'],
'print.css': ['print.css'],
'all.js': ['jquery-1.4.js','jquery-ui.js','site.js'],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment