I'm trying to navigate around a very old bug with django-storages, which has an issue with ts.strip, which is documented here:
https://groups.google.com/forum/#!msg/mezzanine-users/CQTvNmFa1f8/Qy7ZVcjNYGAJ When I switch to the revived django-storages-redux package (https://github.com/jschneier/django-storages/), I run into this issue: ImproperlyConfigured at /admin/media-library/browse/ > Error finding Upload-Folder. Maybe it does not exist? Note that I am using S3 with media/uploads directories created AND set to public. My MEDIA_ROOT is set to ''. Additionally, here are my django settings: ############################ # S3 STATIC FILES # Update your bucket_name and # aws security id/keys ############################# AWS_QUERYSTRING_AUTH = False AWS_ACCESS_KEY_ID="aws key-id" AWS_SECRET_ACCESS_KEY= "aws access-key" AWS_STORAGE_BUCKET_NAME = 'static-bucket' AWS_PRELOAD_METADATA = True #helps collectstatic do updates AWS_S3_SECURE_URLS = True STATICFILES_STORAGE = 'storages.backends.s3boto.S3BotoStorage' DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage' #COMPRESS_ENABLED = False # How to fix error abt MEDIA_URL and STATIC_URL # being set the same here ? STATIC_URL = 'https://static.example.com/' ADMIN_MEDIA_PREFIX = STATIC_URL + 'grappelli/' MEDIA_URL = 'https://static.example.com/media/' Thanks! Tom -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
