Hello Nick,

It looks like the issue comes from the definition of:
> DEFAULT_FILE_STORAGE = 'backends.s3.S3Storage'

You must set the complete path here, for instance  
'django_storages.backends.s3.S3Storage' or wherever you installed it.

Hope it helps, do not hesitate to email me personally.

Regards,
David

Le 23 sept. 2009 à 23:52, Nick a écrit :

>
> Hey everyone,
>
> I'm working on setting up an app to upload images to s3.  I am using
> David Larlet's djang-storages backends and am running into a pretty
> annoying problem.  When I try to save an entry through the admin I get
> the following error:
>
> Storage module "backends.s3" does not define a "s3storage" class.
>
> I installed django-storages using python setup.py install.  It created
> an egg directory in my site-packages directory (the same place where
> my root django directory is located).
>
> I've hooked this thing up every way I know how.  My settings.py file
> looks like this:
>
> DEFAULT_FILE_STORAGE = 'backends.s3.S3Storage'
> #Access Keye provided by Amazon
> AWS_ACCESS_KEY_ID = '****************************'
> #Secret Key provided by amazon
> AWS_SECRET_KEY_ID = '*******************************'
> #Bucket name where files will be stored
> AWS_STORAGE_BUCKET_NAME = 'content.newsok.com'
> AWS_CALLING_FORMAT = 'REGULAR'
>
> Also not sure if it will accept this Calling Format.
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to