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
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/(?
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
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
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
5 matches
Mail list logo