Commits

adamnelson  committed 23d8ab2

Raise DeprecationWarning when using s3 instead of s3boto

  • Participants
  • Parent commits 47e36b2
  • Branches 1.1

Comments (0)

Files changed (1)

File storages/backends/s3.py

 http://code.google.com/p/boto
 
 """
-
-
+raise DeprecationWarning("Please use the s3boto library which uses the more standard boto.")
+    
 import os
 import mimetypes
 
 
 class S3Storage(Storage):
     """Amazon Simple Storage Service"""
-
     def __init__(self, bucket=settings.AWS_STORAGE_BUCKET_NAME,
             access_key=None, secret_key=None, acl=DEFAULT_ACL,
             calling_format=settings.AWS_CALLING_FORMAT, encrypt=False,