From c123920cfe59b8465153ab695ba10f5b263554ab Mon Sep 17 00:00:00 2001 From: jason Date: Fri, 1 Oct 2010 16:29:26 -0600 Subject: Changed how vanity url works. --- django/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/django/__init__.py b/django/__init__.py index 827e2c3..9f9836c 100644 --- a/django/__init__.py +++ b/django/__init__.py @@ -58,6 +58,8 @@ class S3Storage(Storage): server = self.options['bucket'] if not self.options['vanity_url']: server += '.s3.amazonaws.com' + else: + server = self.options['vanity_url'] return 'http://' + server + '/' + filename -- cgit v1.2.1