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/(?P.*)$', 'django.views.static.serve', > > {'document_root':

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

2009-04-01 Thread Karen Tracey
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/(?P.*)$', 'django.views.static.serve', > {'document_root': '/Users/dan/projects/some_project/files'}), > > In an

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