Commits

Anonymous committed 11e1c80

adding server parameter to query string generator.

  • Participants
  • Parent commits 642fc34

Comments (0)

Files changed (1)

File storages/backends/s3.py

                             calling_format=calling_format)
         self.generator = QueryStringAuthGenerator(access_key, secret_key,
                             calling_format=calling_format,
-                            is_secure=SECURE_URLS)
+                            is_secure=SECURE_URLS,
+                            server=S3_HOST)
         self.generator.set_expires_in(QUERYSTRING_EXPIRE)
 
         self.headers = HEADERS