Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Assert AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str TryExcept body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore IfExp CompareIs NameLoad NameLoad Str Str Assign NameStore BinOpMod BoolOpOr BoolOpAnd AttributeLoad NameLoad attr Str Str TupleLoad NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpAdd NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Assign NameStore Dict Str Str Str Str Str NameLoad NameLoad BinOpMod Str BinOpMult BinOpMult AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str If BoolOpOr NameLoad CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword TupleLoad NameLoad NameLoad If CompareIn NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str BinOpMod Str SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword TupleLoad NameLoad NameLoad Return NameLoad decorator_list decorator_list
N/A boto.s3.connection S3Connection boto.s3.key Key django.core.exceptions ImproperlyConfigured mediasync TYPES_TO_COMPRESS mediasync.backends BaseClient mediasync.conf msettings N/A mediasync N/A datetime Client N/A BaseClient N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super Client self __init__ args kwargs N/A N/A self aws_bucket N/A msettings N/A AWS_BUCKET N/A N/A self aws_prefix N/A N/A N/A N/A msettings get AWS_PREFIX strip / N/A N/A self aws_bucket_cname N/A N/A msettings get AWS_BUCKET_CNAME False N/A N/A self aws_bucket N/A supports_gzip N/A N/A self N/A N/A N/A N/A N/A msettings get AWS_GZIP True N/A get_connection N/A N/A self N/A N/A N/A N/A self _conn N/A open N/A N/A self N/A N/A N/A key N/A msettings N/A AWS_KEY N/A secret N/A msettings N/A AWS_SECRET N/A N/A N/A N/A self _conn N/A S3Connection key secret N/A N/A N/A AttributeError N/A N/A N/A ImproperlyConfigured S3 keys not set and no boto config found. N/A N/A self _bucket N/A N/A N/A self _conn create_bucket N/A self aws_bucket N/A close N/A N/A self N/A N/A N/A N/A self _bucket None N/A N/A self _conn None N/A remote_media_url N/A N/A self with_ssl N/A False N/A N/A 
        Returns the base remote media URL. In this case, we can safely make
        some assumptions on the URL string based on bucket names, and having
        public ACL on.
        
        args:
          with_ssl: (bool) If True, return an HTTPS url.
         N/A protocol N/A N/A with_ssl False http https N/A url N/A N/A N/A N/A self aws_bucket_cname %s://%s %s://s3.amazonaws.com/%s N/A protocol N/A self aws_bucket N/A N/A self aws_prefix N/A N/A url N/A %s/%s N/A url N/A self aws_prefix N/A url N/A put N/A N/A self filedata content_type remote_path force N/A False N/A N/A now N/A N/A N/A datetime datetime utcnow N/A then N/A now N/A N/A datetime timedelta N/A self expiration_days N/A expires N/A N/A then strftime %a, %d %b %Y %H:%M:%S GMT N/A N/A self aws_prefix N/A N/A remote_path N/A %s/%s N/A N/A self aws_prefix remote_path N/A N/A hexdigest b64digest N/A N/A mediasync checksum filedata N/A raw_b64digest b64digest N/A headers N/A x-amz-acl Content-Type Expires Cache-Control public-read content_type expires N/A max-age=%d, public N/A N/A N/A self expiration_days 24 3600 N/A key N/A N/A N/A self _bucket get_key remote_path N/A N/A key None N/A N/A key N/A Key N/A self _bucket remote_path N/A key_meta N/A N/A N/A key get_metadata mediasync-checksum N/A s3_checksum N/A N/A key_meta replace + N/A N/A force N/A s3_checksum raw_b64digest N/A N/A N/A N/A key set_metadata mediasync-checksum raw_b64digest N/A N/A N/A key set_contents_from_string filedata headers headers md5 N/A hexdigest b64digest N/A N/A content_type TYPES_TO_COMPRESS N/A N/A key N/A Key N/A self _bucket N/A %s.gzt remote_path N/A filedata N/A N/A mediasync compress filedata N/A N/A hexdigest b64digest N/A N/A mediasync checksum filedata N/A N/A headers N/A Content-Disposition N/A inline; filename="%sgzt" N/A N/A N/A remote_path split / N/A -1 N/A N/A headers N/A Content-Encoding gzip N/A N/A N/A key set_metadata mediasync-checksum raw_b64digest N/A N/A N/A key set_contents_from_string filedata headers headers md5 N/A hexdigest b64digest N/A True N/A N/A