Skip to content

Instantly share code, notes, and snippets.

@davemerwin
Forked from jcarbaugh/gist:405311
Created May 18, 2010 19:07
Show Gist options
  • Save davemerwin/405385 to your computer and use it in GitHub Desktop.
Save davemerwin/405385 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,
'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