Sorry, I already found the right file: http://code.larlet.fr/hg.cgi/django-storages/raw-file/5e2aff555506/S3Storage.py
Many thanks for your support! On 26 Aug., 13:06, tom <[EMAIL PROTECTED]> wrote: > Hi David! > > Many thanks for your response. I assume with S3Storage.py you mean the > file which I have downloaded from AWS, right? > > Many thanks, Tom > > On 25 Aug., 10:49, David Larlet <[EMAIL PROTECTED]> wrote: > > > Hi Tom, > > > The DEFAULT_FILE_STORAGE setting need to be set with a (python) path > > to your S3Storage location, the example is a bit confusing because the > > first part is the path and the second one is the class name (which is > > the same). Where did you put the S3Storage.py file? Let's you've got > > this tree: > > > example.com/ > > myproject/ > > myapps/ > > mylibs/ > > S3Storage.py > > > with example.com as part of your PYTHONPATH environment var, you > > should use 'mylibs.S3Storage.S3storage' as your DEFAULT_FILE_STORAGE > > setting. I hope it's more clear now(?) Do not hesitate to contact me > > with more details if you need help. > > > Django do not require anymore to be patched for the use of storages > > since the merge of file storage refactoring (r8244). > > > Best, > > David > > > Le 23 août 08 à 23:42, tom a écrit : > > > > Hi, > > > > I am trying to move all my FileFields and ImageFields Items to S3. > > > Therefore I changed the settings DEFAULT_FILE_STORAGE = > > > 'S3Storage.S3Storage'. I tried to follow the steps described on > > >http://code.larlet.fr/doc/django-s3-storage.htmlbutI get a Error > > > importing storage module S3Storage: "No module named S3Storage" error. > > > I am currently running on this revision: > > > URL:http://code.djangoproject.com/svn/django/trunk > > > Repository Root:http://code.djangoproject.com/svn > > > Repository UUID: bcc190cf-cafb-0310-a4f2-bffc1f526a37 > > > Revision: 8499 > > > Node Kind: directory > > > Schedule: normal > > > Last Changed Author: mtredinnick > > > Last Changed Rev: 8499 > > > Last Changed Date: 2008-08-23 20:34:32 +0200 (Sa, 23 Aug 2008) > > > > and I am not sure if I still have to patch django with the patches > > > form this tickethttp://code.djangoproject.com/ticket/5361. > > > > If a patch would be needed, does anyone know if this particular change > > > will be included within django some times? > > > > Many thanks! tom --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---