Note: this is different from django-staticfiles, in that it has compression built in.
My /static/ is used for static files I upload myself, while /media/ is used for files users upload. However, DJANGO_STATIC_MEDIA_URL relies on the fact that all static files are under one url.
Am I missing something? Or will I have to manually set {{ MEDIA_URL }} and {{ STATIC_URL }} on every template?
In addition, how do I set it up so that the symlinks generated by django-static are uploaded to S3 at all?
I am using Django 1.4, and my current config is:
DJANGO_STATIC = True
DJANGO_STATIC_MEDIA_URL = '//s3.amazonaws.com/%s/static/' % AWS_STORAGE_BUCKET_NAME
DJANGO_STATIC_MEDIA_ROOTS = [os.path.join(SITE_ROOT, 'static')]