I have a django project integrated with s3, and everytime I want to execute something on the command line, e.g. python manage.py migrate, the terminal has to load this first:
Request URL = https://ec2.amazonaws.com?Action=DescribeRegions&Version=2013-10-15
Response code: 200
and this creates a few seconds delay for my command to execute. Is there any way I can prevent this from happening as it's causing delays in development.
from draft1.aws.conf import *
from draft1.aws.conf import S3_URL, AWS_STORAGE_BUCKET_NAME
STATIC_URL = S3_URL + 'static/'
MEDIA_URL = '//%s.s3.amazonaws.com/media/' % AWS_STORAGE_BUCKET_NAME
MEDIA_ROOT = MEDIA_URL
ADMIN_MEDIA_PREFIX = STATIC_URL + 'admin/'