To the more general question of running python like that, just import
the update_s3 method and run it normally.

On Mon, Nov 24, 2008 at 2:46 PM, Adi Jörg Sieker <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>  if you are using 1.0 or newer, than you can use a file backend to
> directly on S3.
>
> Have a look if http://code.google.com/p/boto/ or
> http://github.com/paltman/django-aws/tree/master
> help you along.
>
> adi
>
> On 24.11.2008 18:35 Uhr, Alex Jonsson wrote:
>> Hey everyone,
>>
>> I use Django together with Photologue and would like to be able to
>> store the images on my Amazon S3 account.
>>
>> I've been doing a lot of thinking about how the easiest way to do this
>> would be, and have come to the conclusion that the easiest way
>> probably would be to upload the image first to my own server, and then
>> at the save() method run the update_s3.py script. It can be found
>> here: http://www.holovaty.com/code/update_s3.py
>>
>> If I want to run this command and copy the entire directory over to
>> S3, how would be the easiest way to do that?
>>
>> Thanks,
>> Alex
>> >
>>
>
>
> --
> Adi J. Sieker         mobile: +49 - 178 - 88 5 88 13
> Freelance developer   web:    http://www.sieker.info/profile
> SAP-Developer
>
> >
>



-- 
---
David Zhou
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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