Django-storages S3 setup

2009-05-10 Thread Dan Jewett
Having trouble getting files in the correct locations apparently. Here's one example of the setups I've tried: /Project/ /backends/ S3Storage.py /App/ settings.py /site-packages/ S3.py in settings.py: DEFAULT_FILE_STORAGE = 'backends.S3Storage.S3Storage' >>>from django

Re: Wrong link to uploaded file in admin...

2009-04-01 Thread Dan Jewett
On Apr 1, 3:12 pm, Karen Tracey wrote: > On Wed, Apr 1, 2009 at 2:52 PM, Dan Jewett wrote: > > > I'm using the following settings: > > > MEDIA_ROOT = '/Users/dan/projects/some_project/files/' > > > # static files > >        (r'^files/(?

Wrong link to uploaded file in admin...

2009-04-01 Thread Dan Jewett
I'm using the following settings: MEDIA_ROOT = '/Users/dan/projects/some_project/files/' # static files (r'^files/(?P.*)$', 'django.views.static.serve', {'document_root': '/Users/dan/projects/some_project/files'}), In an app called 'collaborate' I have a model that looks like this: clas

Re: django_extensions and AutoSlugField

2009-01-19 Thread Dan Jewett
On Jan 19, 11:03 am, Dan Jewett wrote: > Maybe I'm just implementing this incorrectly, but if anyone is using > this extension maybe you could shed some light on this error. > > When I try to add or save my Model I get: > AttributeError: 'str' object has

django_extensions and AutoSlugField

2009-01-19 Thread Dan Jewett
Maybe I'm just implementing this incorrectly, but if anyone is using this extension maybe you could shed some light on this error. When I try to add or save my Model I get: AttributeError: 'str' object has no attribute 'creation_counter' Here's what I think is relevant. in models.py: (partial) f