Skip to content

Instantly share code, notes, and snippets.

@davemerwin
Created May 19, 2010 05:06
Show Gist options
  • Save davemerwin/405977 to your computer and use it in GitHub Desktop.
Save davemerwin/405977 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':"XXXXXXXXXXXXXXX",
'AWS_SECRET':"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
'AWS_BUCKET':"XXXXXXXXXXXXXXX",
'DOCTYPE':"html5",
'CSS_PATH': "css",
'JS_PATH': "js",
'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