see pip-req.txt
STATIC_ROOT = 'static/build' # build directory
ONLINE_STATIC_ROOT = 'static' # online prefix
CDN_FINDER_PREFIX = 'http://static.example.com'
INSTALLED_APPS = (
'other apps',
'cdn',
)
JINJA2_EXTENSIONS = (
# extensions
'cdn.extensions.CdnExtension',
)
here is a static files packaging script